We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Accept
Currently the following header is sent when fetching modules:
Accept: */*
Which makes it very difficult for a server to do content negotiation. Either a header of:
Accept: application/javascript, application/typescript, text/javascript, text/typescript, text/jsx, text/tsx, application/json;q=0.9, text/plain;q=0.8, application/octet-stream;q=0.8
Or:
Accept: application/javascript, application/typescript, text/javascript, text/typescript, text/jsx, text/tsx, application/json;q=0.9, text/plain;q=0.8, application/octet-stream;q=0.8, */*;q=0.7
Would allow better negotiation of content for a web server.
Ref: denoland/deno#13287
The text was updated successfully, but these errors were encountered:
#42 - I picked the first one.
Sorry, something went wrong.
feat: send better Accept header (#42)
2df5a64
Fixes #41.
Successfully merging a pull request may close this issue.
Currently the following header is sent when fetching modules:
Which makes it very difficult for a server to do content negotiation. Either a header of:
Or:
Would allow better negotiation of content for a web server.
Ref: denoland/deno#13287
The text was updated successfully, but these errors were encountered: