Skip to content

proposal: net/http: provide RoundTripperFunc adapter for RoundTripper #21509

Closed
@frojasg

Description

@frojasg

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go1.8.1

What operating system and processor architecture are you using (go env)?

GOOS="darwin"

What did you do?

N/A

What did you expect to see?

Implement an adapter function for http.RoundTripper would be helpful.
I see there's already one in the code for a test.
Could we add this to the http package?

What did you see instead?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions