We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Vary
From reading https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin it sounds like we should be setting Vary in cors responses. Probably also for other headers than Access-Control-Allow-Origin.
Access-Control-Allow-Origin
The text was updated successfully, but these errors were encountered:
CORS middleware should set the Vary header
c9f042c
The headers are based on [corsware][] which states: > These are all headers which can influence the outcome of any given > CORS request. Closes tower-rs#198 [corsware]: https://github.com/atorstling/corsware/blob/3467805a74145b788f8234f9f994caf045509b31/src/lib.rs#L223-L229
7fac8ed
The headers are based on [corsware][] which states: > These are all headers which can influence the outcome of any given > CORS request. Fixes tower-rs#198 [corsware]: https://github.com/atorstling/corsware/blob/3467805a74145b788f8234f9f994caf045509b31/src/lib.rs#L223-L229
Set Vary header in CORS middleware (#199)
981a477
The headers are based on [corsware][] which states: > These are all headers which can influence the outcome of any given > CORS request. Fixes #198 [corsware]: https://github.com/atorstling/corsware/blob/3467805a74145b788f8234f9f994caf045509b31/src/lib.rs#L223-L229
Successfully merging a pull request may close this issue.
From reading https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin it sounds like we should be setting
Vary
in cors responses. Probably also for other headers thanAccess-Control-Allow-Origin
.The text was updated successfully, but these errors were encountered: