Fix URI, Request target terminology.
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 28/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- rust
调研方向
先从 crate 当前的 Uri 结构体以及 request-target 处理文档开始,然后查看报告中列出的相关 issue。完成的标准是:术语能够一致地描述 request-target 的形式,并且在实现之前,公开命名变更已有明确的兼容性决策。
由索引模型根据 Issue 内容生成。
描述
As this crate stands for correctness, it is imperative to fix misleading terminology that is used through out the request-target handling documentation.
- Use
HttpRequestTargetinstead ofUri, as it really handles only request target forms, not identity scheme in any way. This may be difficult, noting it is a breaking change. Can alias and deprecate though. - In documentation of current
Uristruct, There is extensive use ofabsolute-uri/relative-uridichotomy to show that, forabsolute-uriit hasport,scheme, etc, and forrelative-uriit won't. This is grossly misleading. As this crate is not handling identifiers in the first place, there is no such thing asabsolute-uri/relative-uridichotomy. It is instead dichotomy ofabsolute-form/origin-formof request target. i.e, request-target inabsolute-formencodes port, scheme etc, and that inorigin-formdoesn't, as they have to be runtime-resolved. That's also the reason the mis-termedrelative-uris starts with a/, as they are not really identifiers, relative/absolute, butorigin-formresource targets.
The second point of fixing documentation may not be breaking change, and possible i hope.
We can see many misunderstandings due to this misleading. for example
- #127, As These are not identifiers, but representation of request-target values, there is no uri, and thus no fragments in first place.
- #465 Same mis-issue of using request-target representation to represent identifiers
- #469 They even mention other uri-schemes in issue discription, and also quotes uri-standard. Same mis-issue.
- #396 ,
urlcrate is for identifiers, where as this one only deals with request-targets. - #379 same issue. This crate doesn't handles uris in first place. only request targets.
- #342
- #311
- #323
- #421
- #306
- #176
- #110
so on, so forth.
For amount of confusion, ad misleading it creates, It may be helpful to fix at least terminology in docs, and fix Uri name for struct before 1.0
- 主要语言
- Rust
- 星标
- 1.4k
- 派生
- 378
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 5
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperium/http 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 62/100
-
难度 3/5 1-2 天 新手友好度 58/100
-
难度 3/5 1-2 天 新手友好度 62/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
arkworks-rs/algebra#1161 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
lbjlaq/Antigravity-Manager#3525 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
agent-ready area:platform bug criticality:p3 rust triage:needs-implementation
难度 2/5 1-3 小时 新手友好度 88/100
registrystack/registry-stack#1583 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
app documentation remote windows-os
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复