-
Notifications
You must be signed in to change notification settings - Fork 24
What headers should a client be allowed to send? #39
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
Conversation
and fixed small typo
Rereading the document I’m starting to doubt whether my pull request makes sense: is it possible that Access-Control-Expose-Headers is described, and not necessarily the Access-Control-Allow-Headers when a preflight response is given? |
It is worth noting that Also, |
The WhatWG fetch specification changed this recently: when, for example, your accept header is larger than 128 bytes, a preflight request gets sent regardless and he response
But isn’t |
@pietercolpaert that's interesting about the WhatWG fetch specification. That seems to suggest that adding I think you're correct about |
@acoburn I adapted this pull request to reflect this as discussed in the background document |
Can this be merged? At this moment the document is a bit confusing otherwise |
Merging as is since it corrects background material. Thanks @pietercolpaert . |
I see https://solid.github.io/web-access-control-spec/Background as a great background document on Cross Origin Resource Sharing. The document proposes a default set of headers to be allowed by all servers in the ecosystem.
With this pull request I would like to open the discussion to accepting more headers by default. For me in particular, the Accept header was lacking.