Expose HTTP response to end users
还没有人认领这个 Issue。
评估
调研方向
Start by reading the response handling and error reporting paths in the tus Java client, then review the three linked issues for related behavior. The request is to include response bodies in 4xx error messages and add an overridable TusClient callback for custom response handling; done means both behaviors are available to client users.
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
Users currently cannot retrieve the response body. This includes successful responses (e.g. after an upload is finished), but also error cases, where the error message only includes the status code. The response body is not included in the message, although it usually includes more details.
Describe the solution you'd like
- Error messages from 4xx status codes should include the response body
- TusClient should have a callback that can be override to handle the response object in a custom manner.
See https://github.com/tus/tus-java-client/issues/89, https://github.com/tus/tus-java-client/issues/59, https://github.com/tus/tus-java-client/issues/80, for example.
- 主要语言
- Java
- 星标
- 246
- 派生
- 90
- 平均合并
- 13 小时 2 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tus/tus-java-client 的其他 Issue
-
question
难度 3/5 1-2 天 新手友好度 35/100
tus/tus-java-client#144 · 1 条评论 ·
-
question
难度 3/5 1-2 天 新手友好度 35/100
tus/tus-java-client#124 · 3 条评论 ·
-
tus 2.0 support未关闭enhancement
难度 5/5 一周以上 新手友好度 20/100
tus/tus-java-client#114 · 1 条评论 ·
-
question
难度 4/5 3-5 天 新手友好度 25/100
tus/tus-java-client#113 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 15/100
tus/tus-java-client#78 · 8 条评论 · 1 个 reaction ·
查看 tus/tus-java-client 的全部 Issue
相似的 Issue
-
Type: Bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
MCP add-on: JSON responses with non-ASCII characters are truncated (wrong Content-Length)可能已有人在做 @dhanushbs10 今天认领。 未关闭add-on bug in:mcp
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Map.Coordinate does not implement proper equals可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭vaadin-map
难度 2/5 1-3 小时 新手友好度 70/100
vaadin/flow-components#10586 ·
维护者通常 1 天内回复
-
WeReadInstaller writes the launcher database on the main thread at handover (Activity pause timeout)未关闭bug good first issue
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 63/100
wpilibsuite/SystemcoreTesting#446 ·
维护者通常 1 天内回复