Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide response body for status code 400 #464

Open
redarflap opened this issue Jul 25, 2024 · 0 comments
Open

Provide response body for status code 400 #464

redarflap opened this issue Jul 25, 2024 · 0 comments

Comments

@redarflap
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant