Re: [PATCH] http: match headers case-insensitively when redacting
On Tue, Sep 21, 2021 at 12:48 PM Jeff King <peff@peff.net> wrote:
> But certainly I found the behavior surprising. :) I'd guess it's because
> HTTP/2 is sending some binary goo instead of text headers, and the names
> we get are just coming from some lookup table? Or maybe I'm just showing
> my ignorance of HTTP/2.
AFAIK headers in HTTP/2 MUST be lowercase as per the SPEC[1]
Carlo
[1] https://datatracker.ietf.org/doc/html/rfc7540#section-8.1.2