-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Add json
to possible fetch destinations
#29573
Conversation
Preview URLs (comment last updated: 2024-03-05 11:51:28) |
I'm marking this as ready because the spec has been merged, but there are no implementations yet. |
This pull request has merge conflicts that must be resolved before it can be merged. |
This is now released in at least one browser (Chrome) |
Thanks a lot for opening this one. Are there any other areas that make sense to add this? It looks like this is in Chrome 123, right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to merge for now and follow-up about https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest shortly 👍🏻
Description
The fetch spec is being updated to support a
json
destination. This PR adds it to the list of valid destination.Additional details
whatwg/fetch#1691