Luca Casonato
a2512de95f
fix: close fetch response body on GC ( #11467 )
...
This commit fixes fetch response bodies to be automatically closed if
the `Response.body` readable stream goes out of scope and is GC'ed.
2021-07-20 21:06:24 +02:00
Satya Rohith
ab6b0cefd3
refactor: use primordials in extensions/fetch ( #11266 )
2021-07-06 11:32:59 +02:00
Jimmy Wärting
2c0b0e45b7
refactor: asynchronous blob backing store ( #10969 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-07-05 15:34:37 +02:00
Craig Morten
a6c840d150
fix(fetch): OPTIONS should be allowed a non-null body ( #11242 )
2021-07-05 12:38:12 +02:00
Andreu Botella
ffa75be480
feat: enable WebAssembly.instantiateStreaming and wasm async compilation ( #11200 )
...
The WebAssembly streaming APIs used to be enabled, but used to take
buffer sources as their first argument (see #6154 and #7259 ). This
change re-enables them, requiring a Promise<Response> instead, as well as
enabling asynchronous compilation of WebAssembly modules.
2021-07-03 23:33:36 +02:00
Luca Casonato
bf39b883d6
refactor: introduce primordials for ext/web ( #11228 )
2021-07-03 21:32:28 +02:00
Yasser A.Idrissi
0cbaeca026
fix: fetch with method HEAD should not have body ( #11003 )
2021-06-18 11:14:14 +02:00
Luca Casonato
49ec3d10ad
refactor: store header keys lower case internally ( #10958 )
...
This is a minor optimization that removes some header key lowercasing
that previously happened on access.
2021-06-15 16:37:05 +02:00
Bartek Iwańczuk
5814315b70
refactor: move streams implementation to deno_web crate ( #10935 )
2021-06-14 13:51:02 +02:00
Luca Casonato
1fb2e23a67
feat(fetch): implement abort ( #10863 )
...
This commit introduces fetch aborting via an AbortSignal.
2021-06-06 15:37:17 +02:00
Anonymous
688557e226
fix(op_crates/fetch): check fetch() argument length ( #10474 )
2021-05-03 09:05:42 +02:00
Andy Hayden
684c357136
Rename crate_ops to extensions ( #10431 )
2021-04-30 15:51:48 -04:00