hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Disable Circular Redirect Detection
Date Wed, 11 Feb 2009 16:55:44 GMT
Larry Homes wrote:
> Hello,
> 
> Apache Httpclient is throwing a CircularRedirectException. I know the
> redirect is in fact not a circular redirect. Setting setFollowRedirects to
> false, solves the problem, but breaks some other sites redirect and, in
> general, I'd like to keep redirects active. So is there any way to turn off
> just Circular Redirect detection? I read that I might be able to do so with
> HttpParams.setParams(), but I do not know what name to set to false to
> disable catching circular redirects.
> 
> Thanks for any help
> 

Set 'http.protocol.allow-circular-redirects' parameter to true.

Oleg

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


Mime
View raw message