commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Patterson" <>
Subject Re: HttpClient Mulitple Cookie lines
Date Wed, 26 May 2004 06:36:23 GMT
Found a solution myself...

I upgraded to HttpClient 3.0alpha and used

This worked.

----- Original Message ----- 
From: "John Patterson" <>
To: <>
Sent: Wednesday, May 26, 2004 12:58 PM
Subject: HttpClient Mulitple Cookie lines


HttpClient 2.0final is sending cookies to the server on Multiple lines ie:

Cookie: first=blah
Cookie: second=blah

This is not accepted by the server that I am interfacing with (WebLog I

It only accepts cookies of the form:

Cookie: first=blah; second=blah

Which is how common browsers send them.

I have tried setting Method.setStrict(true) but this does not help.  Neither
does changing the CookiePolicy.

Any suggestions?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message