hyperium / http

Rust HTTP types
Apache License 2.0
1.12k stars 283 forks source link

Constants for `x-forwarded-*` headers #601

Open tomkarw opened 1 year ago

tomkarw commented 1 year ago

Was it a conscious decision not to add HeaderName constants for x-forwarded-for, x-forwarded-host and x-forwarded-proto? They are only mentioned in the FORWARDED const.

If not, rather than adding them to my project, I'd be happy to create a PR for it, should be trivial.