mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
7b33623b1d
Originally landed in
f6fd6619e7
.
Reverted in https://github.com/denoland/deno/pull/24574.
This reland contains a fix that sends "Accept: */*" header for calls made
from "FileFetcher". Absence of this header made downloading source code
from JSR broken. This is tested by ensuring this header is present in the
test server that servers JSR packages.
---------
Co-authored-by: Sean McArthur <sean@seanmonstar.com>
5 lines
221 B
Text
5 lines
221 B
Text
error: Uncaught (in promise) TypeError: client error[WILDCARD]
|
|
await fetch("https://nonexistent.deno.land/");
|
|
^[WILDCARD]
|
|
at async fetch (ext:[WILDCARD])
|
|
at async file:///[WILDCARD]/fetch_async_error_stack.ts:1:1
|