Re: Cookie crumbling

On Tue, Oct 22, 2013 at 7:38 AM, Martin Thomson <martin.thomson@gmail.com>wrote:

> Turns out that splitting the Cookie header into pieces improves
> compression efficiency considerably. It also turns out that we haven't
> done that, despite talking about it, testing code with it, etc...
>
> Just raised an issue to track this:
> https://github.com/http2/http2-spec/issues/292
>
> I think that we've had agreement to do this in the past, but it's been
> suspiciously absent from the compression draft.  Roberto hopes to be
> able to work this part out for the post-Vancouver/88 version of the
> drafts.
>
>
RFC 6265 says the client should sort cookie in a certain way:
http://tools.ietf.org/html/rfc6265#section-5.4

Since the header compressor does not preserve the ordering of the headers,
we lose the cookie ordering.
I'm not really sure how important the cookie ordering today or future
though.

Best regards,
Tatsuhiro Tsujikawa

Received on Tuesday, 22 October 2013 12:18:57 UTC