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

403 “Not a valid CORS request.” #8

Open
frqnck opened this issue Jun 22, 2017 · 0 comments
Open

403 “Not a valid CORS request.” #8

frqnck opened this issue Jun 22, 2017 · 0 comments
Labels

Comments

@frqnck
Copy link
Owner

frqnck commented Jun 22, 2017

It is (probably) not strictly correct for the CORS plugin to return a 403 “Not a valid CORS request.”.
The Web browser really should make that decision rather than the API?
Although, this 403 is currently serving us well and may deter the ‘scrapping’ kids…

TODO: Check against https://www.w3.org/TR/cors/

Maybe make this an optional feature?

Somehow that 403 may affect JSONP request, legacy browser probably don’t follow same origin policy anyway. Currently, JSONP requests require to disable the CORS plugin (using the _no_cors param).

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

1 participant