Re: Set-Cookie Header

Dave Kristol (dmk@research.bell-labs.com)
Fri, 8 Dec 2000 09:05:24 -0500 (EST)


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