Skip to content
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

support Access-Control-Max-Age while validating CORS #1557

Open
yuqinlear opened this issue Jul 8, 2016 · 1 comment
Open

support Access-Control-Max-Age while validating CORS #1557

yuqinlear opened this issue Jul 8, 2016 · 1 comment
Labels

Comments

@yuqinlear
Copy link

I can see validCORSHeaders() at xmlhttprequest.js doesn't support Access-Control-Max-Age.
We can follow https://www.w3.org/TR/cors/#access-control-max-age-response-header to cache the preflight request result.

@domenic
Copy link
Member

domenic commented Jul 8, 2016

That spec is outdated; we want to use https://fetch.spec.whatwg.org/ instead. But yeah, seems like a reasonable feature.

@domenic domenic added the feature label Jul 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants