ContentDisposition
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- rust
调研方向
Start by reviewing the existing ContentDisposition handling and the CacheControl work referenced in issue #3. Determine which string fields need builder support, how validity should be checked at build(), and how parsing can avoid unnecessary copies. Done means an agreed design with clear field, validation, and efficiency requirements.
由索引模型根据 Issue 内容生成。
描述
The Content-Disposition header is a more complicated one, and coming up with an appropriate design that is easy and clear to use while also being efficient is important.
Where as most of the fields that can be set in CacheControl (#3) are known, and can be represented in bitflags, the fields of a ContentDisposition are typically strings. It'd be useful to be able to set these fields easily (not having to worry too much about converting to a valid HeaderValue), without needing to make several copies when parsing.
One option is to add a ContentDisposition::builder(), which can set the various fields, and the validity can be checked when build() is called.
- 主要语言
- 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 于 59 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 78/100
-
From<SystemTime> for HttpDate panics on times before 1970 or after year 9999可能已有人在做 @SAY-5 于 78 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
-
难度 5/5 一周以上 新手友好度 35/100
-
Link support未关闭
难度 4/5 3-5 天 新手友好度 38/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
swc-project/swc#12516 ·
维护者通常 1 天内回复
-
app bug
难度 2/5 1-3 小时 新手友好度 76/100
-
mls-rs-crypto-awslc: exact aws-lc-rs =1.16.3 pin blocks rustls security update可能已有人在做 @muscariello 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
-
[work-item] adam-adae-worsening-emergence: conform spec.yaml to the specification style contract (REQ-1280)可能已有人在做 @muse-yamaa-bot 今天认领。 未关闭work-item
难度 1/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复