Strict mode is a property of the HttpMethod. Try calling HttpMethod.setStrictMode(true).
Mike
On Friday, June 27, 2003, at 04:31 PM, <[EMAIL PROTECTED]> wrote:
I also didn't set a cookiePolicy and let the default go, still a cookie on a
separate line. I also tried to concatenate all the cookies into a string
and set the cookie header line like so:
post.setRequestHeader("Cookie",catCookies);
But that doesn't seem to work either. It is never sent.
Ross
-----Original Message----- From: Ross Rankin [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 4:13 PM To: 'Commons HttpClient Project'; '[EMAIL PROTECTED]' Subject: RE: Cookie Issues
I tried both NETSCAPE_DRAFT and RFC2109 and the trace of the post shows it
has separate lines for each cookie.
Ross
-----Original Message----- From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 3:43 PM To: Commons HttpClient Project Subject: RE: Cookie Issues
Ross,
However I noticed in my proxy traces the browser put all the cookies inoneline instead of separate lines for each cookie. Could that cause aproblem?
Try using strict mode. In strict mode all cookies are sent as one 'Cookie' header.
cheer
Oleg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
