summaryrefslogtreecommitdiff
path: root/op_crates/fetch/26_fetch.js
AgeCommit message (Collapse)Author
2021-04-30Rename crate_ops to extensions (#10431)Andy Hayden
2021-04-28chore: upgrade dprint plugins (#10397)Satya Rohith
2021-04-20chore: align fetch to spec (#10203)Luca Casonato
This commit aligns the `fetch` API and the `Request` / `Response` classes belonging to it to the spec. This commit enables all the relevant `fetch` WPT tests. Spec compliance is now at around 90%. Performance is essentially identical now (within 1% of 1.9.0).
2021-04-14chore: align FormData to spec (#10169)Luca Casonato
This PR aligns `FormData` to spec. All WPT tests are passing.
2021-04-13perf: lazy header instantiation for HTTP requests (#10150)Luca Casonato
This commit introduces a performance optimization for the native HTTP server. From my testing it is about 2-6% faster than `main`. Request headers in the HTTP servers are now lazilly instatated when they are accessed, rather than being preemptively wrapped in the `Headers` class.
2021-04-13perf(fetch): optimize normalizeMethod() (#10154)Aaron O'Mullan
2021-04-12refactor(deno): remove concept of bin & json ops (#10145)Aaron O'Mullan
2021-04-05refactor: convert ops to use serde_v8 (#10009)Aaron O'Mullan
This commit rewrites most of the ops to use "serde_v8" instead of "json" serialization.
2021-02-04chore: use strict mode for internal runtime, core, and op_crates js (#9391)Developing
2021-02-04fetch optimizations (#9402)Ryan Dahl
Release deno_fetch 0.20.2
2021-02-04refactor: rewrite File implementation (#9334)Luca Casonato
2021-01-30refactor: rewrite Blob implementation (#9309)Luca Casonato
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-01-28chore: add jsdoc to 26_fetch.js and enable some fetch tests (#9305)Luca Casonato
2021-01-18fix: redirect in --location relative fetch (#9150)Luca Casonato
2021-01-17chore: Enforce ban-untagged-todo lint rule (#9135)Bartek Iwańczuk
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-10feat(fetch): req streaming + 0-copy resp streaming (#9036)Luca Casonato
* feat(fetch): req streaming + 0-copy resp streaming * lint * lint * fix test * rm test.js * explicitly use CancelHandle::default() * Apply review suggestions Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> * fix test * Merge remote-tracking branch 'origin/master' into fetch_real_streaming * fix test * retrigger ci Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2021-01-07feat: add --location=<href> and globalThis.location (#7369)Nayeem Rahman
2020-12-30fix(op_crates/fetch): correct regexp for fetch header (#8927)Rich Trott
Fix bug in regular expression and make the regular expression more strict. In a string passed to new RegExp(), '[\t\s]' is identical to '[ts]' and not `/[\t\s]/`. For that, the backslash needs to be escaped in the string. Futhermore, `\t` is the tab character and is included in the special regexp value `\s` so is unnecessary. That would reduce the RegExp to new RegExp(`^${value}\\s*;?`) but there's no point in matching 0 or more space characters followed by 0 or one semi-colons as that will match no matter what follows `value`. To make it more strict, require one of space, semicolon, or end-of-string after value.
2020-12-22fix: implement ReadableStream fetch body handling (#8855)Luca Casonato
2020-11-24fix(op_crates/fetch): `redirect: "manual"` fetch should return `type: ↵Luca Casonato
"default"` response (#8353)
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-10-26fix(op_crates/fetch): ensure Request.method to be string (#8100)Kid
Ensure "Request.method" to be the default value ("GET") if "init.method" is not defined, which follows browser's behavior.
2020-10-19fix(op_crates/fetch): Body.body should be stream of Uint8Array (#8030)Luca Casonato
2020-10-09fix(op_crates/fetch): Stringify and parse Request URLs (#7838)Nayeem Rahman
Fixes #7837
2020-09-21fix: Response.arrayBuffer() doesn't return promise (#7618)Luca Casonato
2020-09-18refactor: deno_fetch op crate (#7524)Bartek Iwańczuk