Skip to content

Commit

Permalink
Don't throw for 3xx response codes
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Apr 4, 2024
1 parent e0d4bbf commit dff6be9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class HttpClientRequestAdapter implements RequestAdapter {
http.StreamedResponse response,
ErrorMappings? errorMapping,
) async {
if (response.statusCode >= 200 && response.statusCode < 300) {
if (response.statusCode >= 200 && response.statusCode < 400) {
return;
}

Expand Down

0 comments on commit dff6be9

Please sign in to comment.