-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetch() ignores RequestInit.referrer #23762
Comments
It seems something is missing around here, maybe? Lines 395 to 409 in 19c0633
The |
The workaround for now is to use the
|
CC @lucacasonato, I recall there's a reason for this but I can't recall what's the particular reason. |
Version: Deno 1.43.2
Simple repro with the CLI:
Current Behavior
Although I passed a value for
referrer
, it was ignored andfetch()
didn't set thereferer
header on the request.Adding any value for
referrerPolicy
makes no difference.Expected Behavior
I should be getting a
referer
header.The text was updated successfully, but these errors were encountered: