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: Avoiding HTTP Error 301 when using HttpClient 4.x
Date Sun, 06 May 2012 12:15:17 GMT
On Sun, 2012-05-06 at 06:22 +0300, Mugoma Joseph Okomba wrote:
> Hello,
> 
> This relates to
> http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/201205.mbox/browser
> (migrating from HC 3 to HC 4).
> 
> I can access a link physically in a browser but when I try to access same
> link using HttpClient 4 I get HTTP error 301 ("Moved Permanent").
> 
> When accessing same link using HttpClient 3 I don't get  HTTP error 301.
> 
> What could be causing such anormally? Could it be a setting that I am
> missing under HC 4 that makes it behave that way?
> 
> Thanks.
> 
> Mugoma.
> 
> 

Post wire logs of both sessions (HC 3.1 and HC 4.1)

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