Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http: transform http response headers to lowercase #10438

nodegin opened this issue Apr 13, 2015 · 1 comment


None yet
3 participants
Copy link

commented Apr 13, 2015

go version go1.2.1 linux/amd64
what i expect to see is:
Content-Type -> content-type
Set-Cookie -> set-cookie
X-Xss-Protection -> x-xss-protection

this fulfill spdy specification and looks more pretty.


This comment has been minimized.

Copy link

commented Apr 13, 2015

The current http package has nothing to do with spdy, so
why should it fullfit spydy specification?

The current mixed case header naming is consistent with
http RFCs.

The headers are used in a map, so given Go 1 API guarantee,
we can't change them anyway.

@minux minux closed this Apr 13, 2015

@mikioh mikioh changed the title transform http response headers to lowercase net/http: transform http response headers to lowercase Apr 14, 2015

@golang golang locked and limited conversation to collaborators Jun 25, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.