-
Notifications
You must be signed in to change notification settings - Fork 17.3k
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
http.Request.Write ignores Proto{Major,Minor} #910
Labels
Comments
It's a bit more complicated than just changing the HTTP/1.1 to HTTP/%d.%d though, as the go http package only supports chunked encoding. It has no support for slurping up bodies ahead of time to measure their length and add HTTP/1.0 Content-Length headers. That'd likely be a lot of work. The easier fix might just be a documentation clarification that requests are always HTTP/1.1. |
Owner changed to a...@golang.org. Status changed to Accepted. |
Labels changed: added pkg-http. Owner changed to @bradfitz. |
Now that it's possible to send un-chunked requests (by setting Request.ContentLength > 0), I'm closing this with just a documentation update: http://golang.org/cl/4439062 |
This issue was closed by revision 8d6a12f. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by temotor:
The text was updated successfully, but these errors were encountered: