-
Notifications
You must be signed in to change notification settings - Fork 101
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
CORS OPTIONS requests not supported, breaking usage with SPDY #33
Comments
I can confirm that the progress does not work when SPDY is enabled. Please fix it, we would like to enable SPDY! |
Well to my knowledge (didn't try it), the problem is that OPTIONS is not supported by Nginx (nor this plugin).
If that's working, please let me know. I'll see how I can fix this issue in the plugin itself. |
Can someone confirm the above work-around works? |
@masterzen No unfortunately it does not.. |
I tried this workaround a few month ago, and it was not working... |
@masterzen fyi: this is working for us:
|
@pulse00 TY for this snippet, this solved problems in the Nginx + Symfony 4.1.x CORS context for me. I used this snippet inside a specific Nginx location to avoid 405 method not allowed for CORS preflight requests
|
When enabled SPDY support in nginx, Chrome sends an OPTIONS request to e.g. /progress first, before requesting it via GET.
This results in a 405 Method Not Allowed response right now:
Instead, something like the following response should be returned by the upload progress module:
Possibly somehow related to http://forum.nginx.org/read.php?29,236251,236251.
The text was updated successfully, but these errors were encountered: