Skip to content

net/http: ReadRequest doesn't populate req.Close #8261

@DanielMorsing

Description

@DanielMorsing
Example:
http://play.golang.org/p/rp28S9FqHx

I can work around this for now, but it's a bit annoying, especially since
transport.Roundtrip() only looks that the req.Close field and not any of the headers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions