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
ghost opened this issue Sep 29, 2015 · 1 comment
Closed

Comments

@ghost
Copy link

ghost 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
Copy link

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

@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.
Projects
None yet
Development

No branches or pull requests

1 participant