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
-
難度 2/5 1-3 小時 新手友好度 68/100
-
[Bug]: NetworkPolicyOperator removes finalizers added by the EKS network policy controller, which adds them back可能重新可做 關聯的 PR 已關閉且未合併。 未關閉bug needs-triage
難度 2/5 1-3 小時 新手友好度 82/100
strimzi/strimzi-kafka-operator#13360 · 5 則留言 ·
維護者通常 1 天內回覆
-
bug javascript
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 77/100
NationalSecurityAgency/ghidra#10149 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 90/100
yegor256/antlr2ebnf-maven-plugin#155 ·
維護者通常 1 天內回覆