Expand description
Case-insensitive helpers for the context’s header maps.
Context headers are stored as a plain HashMap<String, Vec<String>>. The
keys are usually lowercase — hyper normalises them on the way in — but a
Lua script, another plugin, or a sandbox-seeded response can introduce a
mixed-case name. Since HTTP header names are case-insensitive (RFC 9110
§5.1), removals and lookups must be too, or they silently miss.
Functions§
- remove_
ci - Removes every entry whose name matches
namecase-insensitively.