--- Begin Message ---
Kazuya,
Per default HttpClient uses very strict RFC2109 compliant cookie spec, which requires 
all cookies to have a version attribute. Those cookies that do not have an explicit 
version attribute are assumed to be of version 0 (formatted according to the Netscape 
cookie draft)

As to IE not using the version attribute, well, this so called browser has been 
developed by one very innovative company, which likes to innovate especially when it 
comes to standards compliance.

If you want HttpClient to be simulate the behaviour of mainstream browsers, use 
Browser compatibility cookie spec

For more details please refer to HttpClient cookies guide 
<http://jakarta.apache.org/commons/httpclient/cookies.html>

Oleg

-----Original Message-----
From:   Imabayashi, Kazuya [mailto:[EMAIL PROTECTED]
Sent:   Fri 3/19/2004 08:56
To:     Commons HttpClient Project
Cc:     
Subject:        cookie version info
Hi there,

I have a small question regarding cookie handling.
When I execute GetMethod to some host, cookies are returned.
However, each cookie has its version info, like "$version=0".
An application of the target host cannot process this properly.
When I took some http traces via IE, no version info specified.

Does anybody have any idea on this?

Regards,
Kazuya Imabayashi




<<winmail.dat>>


--- End Message ---
***************************************************************************************************
The information in this email is confidential and may be legally privileged.  Access 
to this email by anyone other than the intended addressee is unauthorized.  If you are 
not the intended recipient of this message, any review, disclosure, copying, 
distribution, retention, or any action taken or omitted to be taken in reliance on it 
is prohibited and may be unlawful.  If you are not the intended recipient, please 
reply to or forward a copy of this message to the sender and delete the message, any 
attachments, and any copies thereof from your system.
***************************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to