Content Negotiator misinterprets Accept Header
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, node.js
调研方向
首先,针对包含 index.html 的文件夹复现两个 Accept 标头示例,然后将返回的表示与所声明的质量值进行比较。完成的标准是,内容协商能够一致地处理通配符的位置,并选择标头所指示的响应,而不是意外返回 index.html。
由索引模型根据 Issue 内容生成。
描述
If the folder contains an index.html, the Accept Header is not interpreted consistently.
Accept: application/n-quads,application/trig;q=0.95,application/ld+json;q=0.9,application/n-triples;q=0.8,text/turtle;q=0.5,*/*;q=0.1
Will return the index.html. Even though text/html is 0.1.
Accept: */*;q=0.1,application/n-quads,application/trig;q=0.95,application/ld+json;q=0.9,application/n-triples;q=0.8,text/turtle;q=0.5
If the wildcard */*;q=0.1 is moved to the front, the server responds with a LD Resource which describes the container.
- 主要语言
- JavaScript
- 星标
- 1.8k
- 派生
- 308
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nodeSolidServer/node-solid-server 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
nodeSolidServer/node-solid-server#1848 · 2 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 65/100
nodeSolidServer/node-solid-server#1841 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
nodeSolidServer/node-solid-server#1147 ·
-
难度 4/5 3-5 天 新手友好度 35/100
nodeSolidServer/node-solid-server#1867 ·
-
难度 5/5 一周以上 新手友好度 45/100
nodeSolidServer/node-solid-server#1853 ·
查看 nodeSolidServer/node-solid-server 的全部 Issue
相似的 Issue
-
S: triage
难度 1/5 1 小时以内 新手友好度 85/100
-
bug
难度 1/5 1 小时以内 新手友好度 90/100
apache/cloudstack#14222 ·
-
Browser Waiting for: Product Owner
难度 2/5 1-3 小时 新手友好度 85/100
getsentry/sentry-javascript#24577 · 1 条评论 ·
-
curation good first issue
难度 2/5 1-3 小时 新手友好度 88/100
amponce/archive-movie-browser#186 ·
-
light
难度 2/5 1-3 小时 新手友好度 85/100
aemdemos/patients-stryker#253 ·