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

Closed
nodegin opened this issue Apr 13, 2015 · 1 comment
Closed

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

nodegin opened this issue Apr 13, 2015 · 1 comment

Comments

@nodegin
Copy link

nodegin 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.

@minux
Copy link
Member

minux 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 as completed 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.
Projects
None yet
Development

No branches or pull requests

3 participants