mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04:00
d763633781
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. |
||
---|---|---|
.. | ||
integration | ||
testdata | ||
unit | ||
integration_tests.rs |