hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Ã…berg <dan.ab...@staff.spray.se>
Subject Cookie and RFC 2109
Date Thu, 12 Jun 2003 08:37:21 GMT
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 ?


I'm using version commons-httpclient-2.0-beta1

View raw message