hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject Re: HttpMethod.setFollowRedirects(bool) does not work for POST methods ???
Date Fri, 05 Aug 2005 11:48:04 GMT
Hi Tim,

> The HTTP spec seems to say POST 
> responses can redirect. Is there a deliberate reason why my setting on a 

> POST method has no effect?

It says POST methods MUST NOT redirect without user interaction.
See RFC 2616, section 10.3.3, page 62. Since HttpClient does not
implement a user front-end, we can't redirect automatically.

cheers,
  Roland


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


Mime
View raw message