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
how remove options before post? #888
Comments
i'm suffering this too |
It sounds like you are making a CORS request. In that case you should read this http://stackoverflow.com/questions/29954037/how-to-disable-options-request. |
@rubennorte I don't understand , how to disable the option before get/post?? |
same question that @fairyly |
The solution to prevent preflight request is to set the header Access-Control-Max-Age. The Access-Control-Max-Age response header indicates how long the results of a preflight request (that is the information contained in the Access-Control-Allow-Methods and Access-Control-Allow-Headers headers) can be cached. For more information look this link. |
Please be aware that the maximum caching time to Access-Control-Max-Age for Chromium is 10 minutes. Not very helpful to my current specific case :P |
@bruno-rodrigues Chromium's max cache time has ben increased to 2 hours. See: |
when post ,always send options first , can turn off this?
The text was updated successfully, but these errors were encountered: