1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/ext
Andreu Botella d763633781
feat(etc/fetch): Support WebAssembly.instantiateStreaming for file fetches (#12901)
Fetching of local files, added in #12545, returns a response with no
headers, including the `Content-Type` header. This currently makes it
not work with the WebAssembly streaming APIs, which require the response
to have a content type of `application/wasm`.

Since the only way to obtain a `Response` object with a non-empty `url`
field is via `fetch()`, this change changes the content type requirement
to only apply to responses whose url has the `file:` scheme.
2021-11-26 19:52:41 +11:00
..
broadcast_channel chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
console chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
crypto fix(ext/crypto): throw on key & op algo mismatch (#12838) 2021-11-25 15:57:01 +01:00
fetch feat(etc/fetch): Support WebAssembly.instantiateStreaming for file fetches (#12901) 2021-11-26 19:52:41 +11:00
ffi chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
http chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
net chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
timers chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
tls chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
url chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
web chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
webgpu chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
webidl chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
websocket chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00
webstorage chore: merge v1.16.3 into main (#12892) 2021-11-24 15:56:18 -08:00