commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: HttpClient Post redirect problem
Date Mon, 19 Apr 2004 10:15:56 GMT
PostMethod#setFollowRedirects has no absolutely no effect because the HTTP
protocol specification prohibits automatic POST method redirects, plain and
simple. HTTP agents should issue an HTTP GET in response to HTTP POST redirect.
Currently HttpClient is not able to do it automatically due to architectural
issues. For detailed explanations and suggested workaround please consult
HttpClient redirect guide:

Hope this helps


>-- Original Message --
>Reply-To: "Jakarta Commons Users List" <>
>From: "Javi" <>
>To: <>
>Subject: HttpClient Post redirect problem
>Date: Mon, 19 Apr 2004 02:34:59 +0200
>I'm ussing the HttpClient and I'm not able to set the Redirect Property
>the PostMehod to TRUE. I use the SetFollowRedirects to True, but when I
>it does not change!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message