-
Notifications
You must be signed in to change notification settings - Fork 85
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
POST requests #79
Comments
Hey, would you mind posting the configuration you're using? /edit: Are you sure the second request is the redirected, next request and not just a single GET request? There is a gap of 6 seconds between both requests... |
Thanks for being fast. My
I may be wrong but I'm having errors on production right now on some rerouting and I'm suspecting this to cause errors. I've got different routes having the same issues, all are POSTs. Let me know if I can help more. |
Seems like your assumption is correct, see http://www.faqs.org/rfcs/rfc2616.html (Section 10.3.2 Note):
It might be an option to use a different status code (307) for POST redirection, but i have to think about this for a while... |
Ooh it all makes sense now. It's a debatable decision though. I don't think you can really do anything about that but I'll stay tuned. Thanks for the support! |
I would say it's an application/endpoint group specific decision to make |
Hello,
I have a POST request that is not being redirected correctly because it seems that the redirection is always using GET. Weird right?
I'm using Rails 3.2 and enforcer 0.2.8.
Thanks
The text was updated successfully, but these errors were encountered: