Consider adding Method::from_bytes_unchecked
Open
Nobody has claimed this yet.
A-method
B-rfc
S-feature
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 378
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 5
Description
This function would bypass all checks on the input in favor of the caller guaranteeing that:
- The input only contains valid method characters
- The input is not a standard HTTP method.
This is a continuation of #8
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading issue #8 and the existing Method parsing API to understand the requested unchecked constructor and its invariants. Confirm how valid characters and standard HTTP methods are handled, then define completion as an agreed API that lets callers bypass those checks while documenting the caller's guarantees.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100