Found a solution myself... I upgraded to HttpClient 3.0alpha and used Method.getParams().setParameter(HttpMethodParams.SINGLE_COOKIE_HEADER, Boolean.TRUE);
This worked. ----- Original Message ----- From: "John Patterson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 26, 2004 12:58 PM Subject: HttpClient Mulitple Cookie lines 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
