commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: httpclient - posting data following redirects.
Date Thu, 03 Nov 2005 09:00:03 GMT
On Wed, Nov 02, 2005 at 01:59:59PM -0500, Mark Lybarger wrote:
> Hi,
> 
> I'm trying to send data using a PostMethod in the commons-httpclient
> package.  The url the post is for is recieving a redirect from the
> server.  I've tried to set the followRedirects on the PostMethod, but
> that seems to be throwing an exception.
> 
> Is there any way I can follow redirects on an http post?
> 
> Thanks!
> ~mark
> 

Mark,

Please consult the HttpClient redirect guide for details on POST method
redirect handling:

http://jakarta.apache.org/commons/httpclient/redirects.html

Oleg


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message