Subject: [quicwg/base-drafts] QPACK should explicitly state ordering requirements for headers within a block (#1684)

From: afrind <[email-masked]>
Date: Fri, 17 Aug 2018 16:18:04 -0700

>From Bence via the mailing list:

HPACK Section 1.3 defines a "Header List" as "an ordered collection of header fields...".  QPACK uses the term "Header Set" instead and does not require it to be ordered.  HPACK has a whole section, 2.1, on ordering, whereas QPACK does not spell out this guarantee.  However, since frames on a given stream are guaranteed to be ordered by the underlying transport, my impression is that QPACK as specified already guarantees to preserve order of header fields within a header list. (Also in my experience things can break in colorful ways if you start reordering headers in your application.)

I propose to add language on the requirement to preserve order, and to use the expression "header list" instead of "header set" throughout. The clause "header list ... can contain duplicate header fields" should probably also be included.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/issues/1684