Header names case sensitivity

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Dec 13 21:29:09 UTC 2022


--------
Jérémy Lecour writes:

> To summarize briefly, I'm wondering if we can use header names in lowercase
> or mixed-case in VCL (or both).

As far as I know, we always treat header names as case insensitive in Varnish.

I think what dridi was referring to is that H2 insist they be lower-case,
on the wire, but our code takes care of that.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the varnish-misc mailing list