impl AsHeaderName for Cow<'_, str>

Open
#285 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Inspect the existing AsHeaderName implementations for &'a str and String, then identify where the trait implementations for header names are defined. Add the corresponding support for Cow<'a, str> and run the repository's test suite to verify the implementation.

Written by the indexing model from the issue text.

Description

A-headers E-easy S-feature

since AsHeaderName is already implemented for both &'a str and String it seems to makes sense thats it should also be implemented for a type which can represent both Cow<'a, str>

Dominant language
Rust
Stars
1.4k
Forks
378
Avg merge
1d 21h
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hyperium/http

All issues in hyperium/http

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.