W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2008

RE: Set-Cookie vs list header parsing (i129)

From: Brian Smith <brian@briansmith.org>
Date: Thu, 28 Aug 2008 10:04:51 -0500
To: "'Yves Lafon'" <ylafon@w3.org>
Cc: "'Julian Reschke'" <julian.reschke@gmx.de>, "'Dan Winship'" <dan.winship@gmail.com>, <ietf-http-wg@w3.org>
Message-ID: <339E24ADED704473898A69D007C088BF@T60>

Yves Lafon wrote:
> > field that is single-valued but erroneously repeated. If an 
> > intermediary combines two single-valued header fields 
> together then it 
> > could change the meaning of the request/response if the 
> combined value 
> > is also a legal value for that field (see 
> http://tools.ietf.org/wg/httpbis/trac/ticket/93).
> 
> If there an example of a repeated single-valued header that, 
> once folded in one list-valued header becomes legal?
>   Content-Length: 12
>   Content-Length: 42
> is as illegal as
>   Content-Length: 12,42

Off the top of my head: Location, Content-Location, and Referer. 

Location: http://foo.com/a
Location: http://foo.com/b

Location: http://foo.com/a,http://foo.com/b

Regards,
Brian
Received on Thursday, 28 August 2008 15:05:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:50:54 GMT