hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: httpClient and cokkies troubles
Date Wed, 09 Feb 2005 14:47:43 GMT
On Wed, Feb 09, 2005 at 03:41:18PM +0100, Michael Niemaz wrote:
> Thanx for the reply oleg.
> A few questions:
>    - All I have to do is upgrade to version 3.0? No need to update my code?

3.0 and 2.0 are not fully API compatible. Usually it is enough to just
recompile your code against 3.0. We strongly recommend removing
references to all the deprecated methods, though.


>    - Why are redirections forbidden in v3.0?

What makes you think so?

>    - What if I have to handle redirections?
> 
> Thanx again,
> 
> --mike
> 
> Oleg Kalnichevski wrote:
> 
> >Michael,
> >
> >There exists a fix for this problem. See this report for details
> >regarding the issue:
> >
> >http://issues.apache.org/bugzilla/show_bug.cgi?id=32833
> >
> >Please note the fix is available in HttpClient 3.0 only
> >
> >Oleg
> >
> >On Wed, Feb 09, 2005 at 01:24:02PM +0100, Roland Weber wrote:
> > 
> >
> >>Hello Michael,
> >>
> >>sounds strange. With domain ".mysite.com", the cookie should
> >>be sent to all hosts in that domain, like "www.mysite.com".
> >>It will not be sent to "mysite.com" itself, since the domain
> >>of that host is actually ".com" only. So make sure you use
> >>a URL that has a real hostname in front of the domain.
> >>
> >>Hope that helps,
> >> Roland
> >>
> >>
> >>
> >>
> >>
> >>Michael Niemaz <Michael.Niemaz@xrce.xerox.com> 
> >>09.02.2005 13:00
> >>Please respond to
> >>"HttpClient Project"
> >>
> >>
> >>To
> >>commons-httpclient-dev@jakarta.apache.org
> >>cc
> >>
> >>Subject
> >>httpClient and cokkies troubles
> >>
> >>
> >>
> >>
> >>
> >>
> >>Hi,
> >>   I'm using httpclient to connect to a server that has
> >>   decided to change the way is set its cookie by inserting
> >>   a dot such as : ".mysite.com"
> >>   The consequence is that I can not login to that server anymore
> >>   and I wonder why actually.
> >>   I've read through the ML and saw interesting things but
> >>   everything I tried did not work for me ;-(
> >>   I'm on COMPATIBILITY cookie's policy, using commons-httpclient-2.0.2.
> >>
> >>   Any feedback appreciated.
> >>
> >>Thanx,
> >>
> >>--mike
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> >>
> >>
> >>   
> >>
> >
> >.
> >
> > 
> >

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


Mime
View raw message