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: make HTTP/1.x handlers able to sent undeclared trailers like HTTP/2 #15754

Closed
bradfitz opened this issue May 19, 2016 · 1 comment
Closed
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@bradfitz
Copy link
Contributor

The HTTP/2 server permits setting Trailers mid-Handler without predeclaring them the "Trailer" header by setting "Trailer:Foo" = "Bar". Since a colon isn't allowed in a trailer, that magic prefix is safe.

Do the same for HTTP/1.x. (and thus also in httptest.ResponseRecorder).

@bradfitz bradfitz added this to the Go1.8 milestone May 19, 2016
@quentinmit quentinmit added the NeedsFix The path to resolution is known, but the work has not been done. label Oct 7, 2016
@gopherbot
Copy link

CL https://golang.org/cl/32479 mentions this issue.

@golang golang locked and limited conversation to collaborators Nov 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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