Skip to content

net/http: client should ignore Transfer-Encoding header in HTTP 1.0 responses #12785

Closed
@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions