Re: UTF-8 or ASCII Header Names?

+1

On Aug 13, 2013, at 6:08 PM, James M Snell <jasnell@gmail.com> wrote:

> https://github.com/http2/http2-spec/issues/231
> 
> The current header compression spec allows for UTF-8 encoded header
> names without any character restrictions. The main HTTP/2 spec,
> however, states that header names are "strings of ASCII characters"
> (also without specifying any character restrictions). We need to be
> clearer.
> 
> Recommend that we specify in both the HTTP/2 and Header Compression
> spec that header names MUST conform to:
> 
>    LOWERALPHA = %x61-7A
>    header-name = "!" / "#" / "$" / "%" / "&" / "'" /
>                  "*" / "+" / "-" / "." / "^" / "_" /
>                  "`" / "|" / "~" / DIGIT / LOWERALPHA
> 
> Which is the all-lower-case equivalent to the header-name definition
> currently in httpbis.
> 

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair

Received on Tuesday, 13 August 2013 22:12:57 UTC