Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: CanonicalHeaderKey capitalization is non-conformant with RFC 6455 #18495
What version of Go are you using (
I don't think we're going to do anything here. RFC 6455 can't mandate the case of headers, since HTTP/1 says that they're case insensitive. And in HTTP/2 there is no case on the wire.
Sorry. I don't want to complicate Go and encourage buggy libraries from assuming case.