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?
to your account
HTTP/2 has :authority rather than Host, but I presume the Request.Host filed is filled in with that value for HTTP/2 requests. That should be documented.
The text was updated successfully, but these errors were encountered:
Seems like maybe over-documenting internal protocol details, but this is already kinda over-documented with HTTP/1 details, so... sure. Will send.
Change https://golang.org/cl/198457 mentions this issue: net/http: document that Request.Host includes HTTP/2 :authority
net/http: document that Request.Host includes HTTP/2 :authority
Successfully merging a pull request may close this issue.