Baseflow / Baseflow/flutter_cache_manager

Provide response body for status code 400

オープン
#464 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
809
フォーク
510
平均マージ
6分
マージ済み PR(30日)
1

説明

## 🚀 Feature Requests

Fetch and provide response body for certain error status codes.

### 🎤 Pitch

Many APIs provide further information in the response on bad client requests (status code 400)
This allows to forward that information to the user in order to explain what he did wrong.

Sadly, since flutter_cache_manager handles all errors equally by discarding the response contents, that information is lost, only allowing us to show a generic "invalid request" message.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

No files or tests are named. Start by tracing how flutter_cache_manager handles HTTP errors and discards response contents; verify the behavior with a 400 response that contains a body, and consider the work done when callers can access that information instead of only a generic error.

索引モデルが issue の本文から書いたものです。

評価

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

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

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