W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > September to December 1997

Re: draft-ietf-http-state-man-mec-03: $Version and path

From: Dave Kristol <dmk@research.bell-labs.com>
Date: Thu, 18 Sep 97 14:32:52 EDT
Message-Id: <9709181832.AA06711@zp>
To: aas@bergen.sn.no
Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/4453
Gisle Aas <aas@bergen.sn.no> wrote on Mon, 15 Sep 1997 21:41:31 +0200:

  > I have tried to implement support for cookies in libwww-perl based on
  > draft-ietf-http-state-man-mec-03.txt and have trouble finding answers
  > to the following two questions.
  >   1) What to do for "Cookie: $Version=?" if the matching "Set-Cookie2"
  >      fields have different value of their Version attributes?  What if
  >      you have a mix of old "Set-Cookie" and "Set-Cookie2" fields that
  >      match.

Think of sending separate Cookie headers for each Set-Cookie[2].  The
$Version you send with each Cookie header corresponds to the one you
received in the Set-Cookie[2] for that cookie.  So a $Version applies
to all cookie-value's that follow it lexically in a Cookie header.

  >   2) Can the path attribute contain URL escapes (%XX) as substitues for
  >      the "real" chars?
  >      Does '"Set-Cookie2: ...;  Path="/foo%2f%62ar"' match for a URL
  >      like http://www/%66oo/bar?   If not, what are the rules?

You are correct that the specification does not say.  It should.
Should we allow/require the value for the Path attribute to be

Dave Kristol
Received on Thursday, 18 September 1997 11:38:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:21 UTC