net/http: header.WriteSubset is case sensitive #34918
Labels
Documentation
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?Not relevant
What did you do?
https://play.golang.org/p/gtm6ZUm4omF
What did you expect to see?
Nothing
What did you see instead?
All lowercase headers
Notes
I think this should either be documented or fixed as WriteSubset is the only method for http.Header that does not perform canonicalization.
/cc @bradfitz @rsc as per https://dev.golang.org/owners
/cc @kele as we found this together
The text was updated successfully, but these errors were encountered: