Expose HTTP response to end users
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 39/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 246
- Fork
- 90
- Merge trung bình
- 13 giờ 2 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tus/tus-java-client
-
question
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
tus/tus-java-client#144 · 1 bình luận ·
-
question
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
tus/tus-java-client#124 · 3 bình luận ·
-
tus 2.0 supportĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
tus/tus-java-client#114 · 1 bình luận ·
-
question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
tus/tus-java-client#113 · 1 bình luận ·
-
Major release: v2Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
tus/tus-java-client#78 · 8 bình luận · 1 reaction ·
Tất cả issue của tus/tus-java-client
Issue tương tự
-
Good First Issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
hiero-ledger/hiero-sdk-java#3044 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A second build without clean fails in resources-optimizer-maven-plugin because minified files are minified againCó thể đã có người làm @papegaaij đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
hermes-queue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
chrisalunlloyd2-sudo/mindpalace#337 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Regression][98.0.0] Android I/flutter logs are automatically folded by FlutterConsoleFoldingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
flutter/flutter-intellij#9221 ·
Maintainer thường phản hồi trong vòng 1 ngày