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

POST Redirects #83

Closed
rwadkins opened this issue Sep 29, 2011 · 1 comment
Closed

POST Redirects #83

rwadkins opened this issue Sep 29, 2011 · 1 comment

Comments

@rwadkins
Copy link

Line 251 of main.js has

self.method !== 'POST' &&

as a condition to the redirect.

Unfortunately, the increasingly common Post/Redirect/Get (PRG) http://en.wikipedia.org/wiki/Post/Redirect/Get pattern, where a redirect will be returned from a post to avoid the risk of POST duplication doesn't work.

In this case, the redirect should use a GET as usual after the POST has returned the redirect. Would you consider, perhaps, a flag to override this default behavior?

@rwadkins
Copy link
Author

rwadkins commented Oct 3, 2011

Sorry, this is a duplicated of Issue 55. Nevermind

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant