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: document Request.Host value in HTTP/2 #34640

Closed
FiloSottile opened this issue Oct 1, 2019 · 2 comments
Closed

net/http: document Request.Host value in HTTP/2 #34640

FiloSottile opened this issue Oct 1, 2019 · 2 comments
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@FiloSottile
Copy link
Contributor

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.

/cc @bradfitz

@FiloSottile FiloSottile added Documentation NeedsFix The path to resolution is known, but the work has not been done. labels Oct 1, 2019
@FiloSottile FiloSottile added this to the Go1.14 milestone Oct 1, 2019
@bradfitz
Copy link
Contributor

bradfitz commented Oct 2, 2019

Seems like maybe over-documenting internal protocol details, but this is already kinda over-documented with HTTP/1 details, so... sure. Will send.

@gopherbot
Copy link

Change https://golang.org/cl/198457 mentions this issue: net/http: document that Request.Host includes HTTP/2 :authority

@golang golang locked and limited conversation to collaborators Oct 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants