RE: Multiple Headers

On Mon, 17 Jun 2013, RUELLAN Herve wrote:

> There is also the possibility to use a single header value with coma-separated instances.

I don't think that will work. I'm pretty sure that multiple set-cookie
headers can't be folded into a single value which is what is required
to use commas as the value delimiter.

> 
> I will add a note on this subject in the spec.
> 
> Herv?.
> ________________________________
> From: James M Snell [jasnell@gmail.com]
> Sent: Sunday, June 16, 2013 17:13
> To: Jeff Pinner
> Cc: HTTP Working Group
> Subject: Re: Multiple Headers
> 
> 
> It is currently unspecified. There are two ways of doing multiple values in the current draft that may change a bit once we get into the type codecs. Currently you can either null separate the instances in a single header value, or you can use separate opcodes for each (treat them as separate headers). The latter can be far more efficient in the encoding. For now, I'd recommend the separate opcode approach and revisit it when we discuss type codecs in more detail.
> 
> On Jun 16, 2013 7:48 AM, "Jeff Pinner" <jpinner@twitter.com<mailto:jpinner@twitter.com>> wrote:
> The SPDY spec defined how multiple headers with the same name were to be encoded (as one header with the value-field containing multiple null-separated entries).
> 
> Is this the expected encoding for draft-ruellan-http-header-compression-00.txt?
> 

Received on Monday, 17 June 2013 16:35:55 UTC