CrowdHailer / raxx

Interface for HTTP webservers, frameworks and clients
https://hexdocs.pm/raxx
Apache License 2.0
402 stars 29 forks source link

Case-Insensitive and duplicate headers are valid. #66

Closed CharlesOkwuagwu closed 6 years ago

CharlesOkwuagwu commented 6 years ago

I think the responsibility of having duplicate headers should be left to the user. https://tools.ietf.org/html/rfc7230#section-3.2.2 suggests that in some cases it is allowed.

Also, as per rfc, case-insensitive headers are valid