javascript-tutorial / javascript-tutorial/en.javascript.info
`Fetch: Cross-Origin Requests` article wording
还没有人认领这个 Issue。
- 主要语言
- HTML
- 星标
- 25.5k
- 派生
- 4k
- PR 合并指标
- 30 天内没有已合并 PR
描述
Article: Fetch: Cross-Origin Requests
-
https://github.com/javascript-tutorial/en.javascript.info/blob/285083fc71ee3a7cf55fd8acac9c91ac6f62105c/5-network/05-fetch-crossorigin/article.md?plain=1#L206 This line gives an idea that there can only be three headers when, in fact, there can be more, as per this MDN article or verified in practice.
-
https://github.com/javascript-tutorial/en.javascript.info/blob/285083fc71ee3a7cf55fd8acac9c91ac6f62105c/5-network/05-fetch-crossorigin/article.md?plain=1#L212 A successful response to a preflight request is restricted to an ok-status, which includes 200 but not limited to it, as per the spec.
I may be nitpicking, but I had to google what was wrong with my preflight request when it had ~10 headers and received a 204 response.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
打开 5-network/05-fetch-crossorigin/article.md,检查第 206 行和第 212 行附近的措辞。将这些表述与链接的 MDN 文章和 Fetch specification 进行比较。完成的标准是:文章不再暗示恰好有三个标头或只有 200 响应,同时保留关于成功 preflight 响应的准确指导。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100