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: double-slash in url causes circular redirect
Date Thu, 30 Jun 2011 13:44:33 GMT
On Thu, 2011-06-30 at 14:52 +0200, khiem nguyen wrote:
> well, before they correct this on the server-side-configuration,i still need
> to handle this as "tolerant" as possible, that means get the content of the
> site just like telnet/wget or browser does. i want to make httpclient, after
> eg. 2 times get redirected with an invalid uri, just user //path-whatever
> instead of trying to cut off to /path-whatever..
> 
> thanx
> 
> 

RedirectStrategy is your friend.

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