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

Re: Set-Cookie Header

From: Dave Kristol <dmk@research.bell-labs.com>
Date: Fri, 8 Dec 2000 09:05:24 -0500 (EST)
Message-Id: <200012081405.JAA19684@aleatory.research.bell-labs.com>
To: James.Thomson@jeyes.co.uk
Cc: http-wg@cuckoo.hpl.hp.com
Thomson James <James.Thomson@jeyes.co.uk> wrote:
  > Hi,
  > 
  > Is it normal for a server to reject the following header because of the
  > final ';' ?
  > 
  > Set-Cookie: MyName=MyValue; path=/;
  > 
  > ...looking in the spec it says the semi-colon acts as a 'separator', does
  > this mean that if it ends the Set-Cookie header it should reject it or is it
  > at the discrepancy of the server?
  > 
  > The following works fine:
  > 
  > Set-Cookie: MyName=MyValue; path=/

The spec. does not allow the extra ';', but a tolerant client would
accept it.

Dave Kristol
Received on Friday, 8 December 2000 14:07:20 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:33:40 EDT