commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Patterson" <dev_johnpatter...@hotmail.com>
Subject HttpClient Mulitple Cookie lines
Date Wed, 26 May 2004 05:58:55 GMT
Hi, 

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 believe).  

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?

Thanks,

John.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message