Expose `http::byte_str::ByteStr` to the public API

Open
#484 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Locate the http::byte_str::ByteStr entry point and inspect how the crate exposes its public API. Check the existing API tests or build checks first, then verify that consumers can import ByteStr publicly and that the existing HTTP1.1 byte-buffer conversion behavior remains covered.

Written by the indexing model from the issue text.

Description

When using the HTTP1.1 protocol, we can convert the entire buffer into bytes:: Bytes, and then convert a portion of it into ByteStr for use (for example, as HeaderName) for zero-copy network programming.I think it's very useful and important

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.