diff --git a/packages/kiota_http/lib/src/http_client_request_adapter.dart b/packages/kiota_http/lib/src/http_client_request_adapter.dart index b5a39b9..860827b 100644 --- a/packages/kiota_http/lib/src/http_client_request_adapter.dart +++ b/packages/kiota_http/lib/src/http_client_request_adapter.dart @@ -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; }