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

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 UTC