Dan, That would definitely be a bug. However, it would be too obvious and too massive a bug to be so easily overlooked by the time of beta-1. Would it be possible to provide us with the wire log of the HTTP session that exhibits the problem? Meanwhile, I will walk through cookie management code in order to double-check if everything is ok there
http://jakarta.apache.org/commons/httpclient/logging.html Cheers Oleg -----Original Message----- From: Dan �berg [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:37 To: commons-httpclient-dev Subject: Cookie and RFC 2109 Hi All ! RFC 2109, section: "4.3.1 Interpreting Set-Cookie" states that: "Path Defaults to the path of the request URL that generated the Set-Cookie response, up to, but not including, the right-most /." When I'm using HttpClient and PostMethod to issue a post command to http://foo.com/whatever.php I retreive a cookie with no path set. When I examine the cookie the path is set to "/whatever.php", but according to RFC 2109 it should be "/". Am I missing something or is this a bug ? Thanx /Dan P.S. I'm using version commons-httpclient-2.0-beta1 --------------------------------------------------------------------- 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]
