Header names case sensitivity

Jérémy Lecour jeremy.lecour at gmail.com
Wed Dec 14 09:52:52 UTC 2022


On Tue, Dec 13, 2022 at 10:29 PM Poul-Henning Kamp <phk at phk.freebsd.dk>
wrote:
> 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.

Thanks for the clarification.
I'll do some verification.

I also wonder if changing the casing of headers produced by Varnish
(X-Varnish …) might break some implementation in the willd.

--
Jérémy Lecour :
https://jeremy.lecour.fr - http://twitter.com/jlecour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20221214/301552d8/attachment.html>


More information about the varnish-misc mailing list