Expose HTTP response to end users

オープン
#98 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
39/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
api

調査の方向性

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 の本文から書いたものです。

説明

enhancement

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分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tus/tus-java-client のほかの issue

tus/tus-java-client の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。