Reputation: 2169
I am trying to redirect a POST request from an Google App Engine Python Handler to another URL. The Problem is that it seems the method is changed to GET. Is there any way to set the POST method when redirecting?
Upvotes: 1
Views: 192
Reputation: 11706
Use a 307 redirect. A 307 will not change the method of the redirect.
Wikipedia: 307 temporary redirect (provides a new URL for the browser to resubmit a GET or POST request)
Upvotes: 2