Baseflow / Baseflow/flutter_cache_manager

Provide response body for status code 400

Open
#464 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

## 🚀 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.