-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Access-Control-Allow-Credentials header #655
Comments
I'd like to tackle this one. I started looking at the spec, and I realized there is only ever one valid value for this header. For example, this value could never be false. Given that invariant, I would probably want users to set this header without needing to pass in a bool. Ex:
However, we probably would want to parse raw AccessControlAllowCredentials headers values of any case. For example an HTTP client should probably still parse this sort of response:
|
Can't get tests to pass tonight...trying tomorrow: |
Gave up on any casing |
@brycefisher You should be able to replicate something like this hyper/src/header/common/expect.rs Line 47 in 388ddf6
Good luck! |
@Ryman oh nice, that's exactly what I was looking for! |
the Access-Control-Allow-Credentials header is missing
http://www.w3.org/TR/2008/WD-access-control-20080912/#access-control-allow-credentials
ABNF:
The text was updated successfully, but these errors were encountered: