-
Notifications
You must be signed in to change notification settings - Fork 28
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 Sec-Fetch-Dest: json
for JSON Modules
#87
Comments
Maybe we should merge this specification into Fetch after all. It's not great if each time we update Fetch we also have to update this. |
Yes, would be nice to maintain this in just one place (or two?). |
The simplest thing to do seems to be decouple the explicit lists of valid header values by pointing to the relevant lists in Fetch. That is, something like the following for -Valid Sec-Fetch-Dest values include "audio", "audioworklet", "document", "embed", "empty", "font", "frame", "iframe", "image", "manifest", "object", "paintworklet", "report", "script", "serviceworker", "sharedworker", "style", "track", "video", "worker", "xslt".
+Valid Sec-Fetch-Dest values include the set of valid [=request=] [=request/destinations=] maintained in [[Fetch]]. That said, if someone would like to do the work to merge the documents, I don't have any problem with consolidation. |
Good point, let me send in a PR. |
FYI: whatwg/html#9486, whatwg/fetch#1691
The text was updated successfully, but these errors were encountered: