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: wrong/undocumented response behaviors when unsupported HTTP version is used #40454
Comments
@gopherbot remove Documentation |
Please provide the steps to reproduce as a Go program, not (just) a Unix command-line. (How did you configure the server on the Go side?) |
Basic configurations like this can reproduce the issue
|
I'd never heard of 505. Seems fine. /cc @neild |
I think the |
Change https://golang.org/cl/261977 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What did you do?
created a server with the most minimal configurations
made a TCP request
What did you expect to see?
as in https://tools.ietf.org/html/rfc7231#section-6.6.6
What did you see instead?
I think the server should also indicate the body length if there is any.
The text was updated successfully, but these errors were encountered: