Document common usage
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 50/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- rust
调研方向
Start by locating the crate-level documentation and the HeaderMapExt trait referenced in the issue. Document the common HeaderMapExt usage with the HeaderMap and Upgrade example, and ensure the trait itself is documented. Done means users can find and understand the normal typed-header workflow without trial and error.
由索引模型根据 Issue 内容生成。
描述
The documentation for the crate does not specify what is the common way to use this crate - it only explains how to extend it for new headers.
It took a bit of trial and error until I finally found the trait HeaderMapExt. And even that trait isn't documented.
The documentation should have something like:
use headers::HeaderMapExt;
let mut headers = HeaderMap::new();
headers.typed_insert(Upgrade::websocket());
let ws = headers.typed_get::<Upgrade>();
- 主要语言
- Rust
- 星标
- 200
- 派生
- 108
- 平均合并
- 3 天 2 小时
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperium/headers 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
-
Range::bytes and ContentRange::bytes do unchecked u64 arithmetic on bounds可能已有人在做 @youdie006 于 57 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 78/100
-
From<SystemTime> for HttpDate panics on times before 1970 or after year 9999可能已有人在做 @SAY-5 于 76 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
-
难度 5/5 一周以上 新手友好度 35/100
-
Link support未关闭
难度 4/5 3-5 天 新手友好度 38/100
相似的 Issue
-
bug user-priority/P2
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
rescript-lang/rescript#8765 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
nautechsystems/nautilus_trader#5287 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
farion1231/cc-switch#8072 ·
维护者通常 1 天内回复
-
Python 3.15 support可能已有人在做 @amnesiaof 今天认领。 未关闭L: python L: python:uv
难度 2/5 1-3 小时 新手友好度 72/100
dependabot/dependabot-core#16524 · 1 条评论 ·
维护者通常 1 天内回复