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

Header Compression Clarifications

From: James M Snell <jasnell@gmail.com>
Date: Tue, 2 Jul 2013 14:42:49 -0700
Message-ID: <CABP7RbfmCYAN-eeaOE1WJsSYGr8gt1-MhPveSGEfyDxe2aMebQ@mail.gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Need just a few simple clarifications...

1. Can the Header Table include duplicates? For instance, if the
sender sends a Literal With Incremental or Substitution Indexing for a
name+value that already exists in the Header Table. The sender
shouldn't do this, but a buggy/malicious sender might. It's obviously
bad behavior but it's not yet clear if it's an error.

2. If the sender sends a Literal with Substitution Indexing
referencing an Index position that is not yet currently filled. This
ought to be an error but it's not specified. For instance, let's
suppose the Header Table has five entries (Index #0...4) currently and
the sender sends a Substitution instruction referencing index #5.
Obviously the sender is doing something wrong.

3. The Header Compression draft currently requires that header name
matching in the header table be case *insensitive*. However, the
current HTTP/2 implementation draft only says that HTTP Header Field
names are lower cased. There is no indication in the main HTTP/2
specification indicating that ALL header names (even hypothetical
non-HTTP headers that may come around later) must be lowercased.
Received on Tuesday, 2 July 2013 21:43:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:14 UTC