Skip to content

newResponse reads the body of the response, giving the user no control over how the body is read #6

Description

@tomnomnom

The user might not want to read the body at all, so it might be best return an io.ReadCloser the same way net/http does. That io.ReadCloser would be responsible for handling reading content-length, chunked encoding, compression etc.

This would also be more familiar for users of net/http

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions