AFAIK you can't redirect post request. Keep in mind that
redirection is an action performed by the client.
Excerpt from http://www.faqs.org/rfcs/rfc1945.html:
If the 301 status code is received in response to a request using
the POST method, the user agent must not automatically redirect the
request unless it can be confirmed by the user, since this might
change the conditions under which the request was issued.
Note: When automatically redirecting a POST request after
receiving a 301 status code, some existing user agents will
erroneously change it into a GET request.
> -----Ursprüngliche Nachricht-----
> Von: Loïc Lefèvre [mailto:llefevre@fivia.com]
> Gesendet: Montag, 30. Juli 2001 14:57
> An: Mailing List Tomcat
> Betreff: End of the adventure?
-1- Is there any bug whith POST forms?
--- THE SIGNATURE ---
Loïc Lefèvre
--- THE BOTTOM OF THE WINDOW ---
|