Skip to content

Contemplate not buffering data if Body is NopCloser or some in-memory type? #3

@virtuald

Description

@virtuald

It seems like if you could figure out whether the Body supported multiple reads (for example, an in-memory buffer), would save some copies.

Unfortunately, it seems that NopCloser isn't exported, but maybe you could export your own wrapper around it that could be used as an indicator?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions