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: client should ignore Transfer-Encoding header in HTTP 1.0 responses #12785

Closed
opennota opened this issue Sep 29, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@opennota
Copy link

commented Sep 29, 2015

HTTP 1.0 doesn't define Transfer-Encoding. The mayor browsers understand this and ignore the header, correctly displaying the response, while the following Go program reports invalid byte in chunk length:

http://play.golang.org/p/SCZOkrJZtI

@gopherbot

This comment has been minimized.

Copy link

commented Oct 13, 2015

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

@bradfitz bradfitz closed this in 2d823fd Oct 13, 2015

@golang golang locked and limited conversation to collaborators Oct 12, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.