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: CircularRedirectException: Circular redirect to
Date Sat, 10 Jan 2009 13:07:55 GMT
shyam wrote:
> Hi All,
> 
>  
> 
> I am trying to execute a Post method to login using Username and Password to
> a site, using HttpClient.
> 
>  
> 
> I am getting status 301 object moved permanently.
> 
>  
> 
> Then when I try to execute Get method on the Location, It is showing the
> following exception:-
> 
>  
> 
> org.apache.commons.httpclient.CircularRedirectException: Circular redirect
> to'
> 
>  
> 
>  
> 
> Can you please tell me why this is happening?
> 
>  

Post a complete wire / context log of the session

http://hc.apache.org/httpclient-3.x/logging.html

Oleg



> 
> How can I correct this?
> 
>  
> 
> Thanks & Regards
> 
>  
> 
> Shyam
> 
>  
> 
> 


---------------------------------------------------------------------
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