Skip to content

Cow<'a> style headers support #754

Open
@nyurik

Description

@nyurik

In some cases, I may already own the pre-allocated readonly &[u8] with the header name/values. How difficult would it be to support the case to create a HeaderName<'a> and HeaderValue<'a> that does not allocate its own memory when not needed?

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