Skip to content
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

Update Accept header for JSON modules with network imports #20866

Open
nicolo-ribaudo opened this issue Oct 10, 2023 · 1 comment
Open

Update Accept header for JSON modules with network imports #20866

nicolo-ribaudo opened this issue Oct 10, 2023 · 1 comment
Assignees
Labels
feat new feature (which has been agreed to/accepted) web related to Web APIs

Comments

@nicolo-ribaudo
Copy link

The HTML spec is being updated to use the appropriate fetch destination for JSON modules: whatwg/html#9486, whatwg/fetch#1691

As far as I can tell, the only relevant different for Deno is that now JSON modules are fetched with the Accept: application/json,*/*;q=0.5 HTTP header rather than Accept: */*. My knowledge of Deno's module system is limited, so please somebody else confirm this.

@lucacasonato lucacasonato added the feat new feature (which has been agreed to/accepted) label Oct 10, 2023
@lucacasonato lucacasonato added the web related to Web APIs label Oct 17, 2023
@nicolo-ribaudo
Copy link
Author

The spec PR has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat new feature (which has been agreed to/accepted) web related to Web APIs
Projects
None yet
Development

No branches or pull requests

3 participants