dio
dio copied to clipboard
A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapter...
fix 'Future already completed' error when connectTimeout was set. ### New Pull Request Checklist - [x] I have read the [Documentation](https://pub.dartlang.org/packages/dio) - [ ] I have searched for a similar...
### New Issue Checklist - [x] I have searched for a similar issue in the [project](https://github.com/flutterchina/dio/issues) and found none ### Issue Info | Info | Value | | | ------------------------------...
### New Issue Checklist - [x] I have searched for a similar issue in the [project](https://github.com/flutterchina/dio/issues) and found none ### Issue Info ### Issue Description and Steps The python code...
### New Issue Checklist - [x] I have searched for a similar issue in the [project](https://github.com/flutterchina/dio/issues) and found none ### Issue Info Hi. You have this example for queued interceptor....
### New Issue Checklist - [x] I have searched for a similar issue in the [project](https://github.com/flutterchina/dio/issues) and found none ### Issue Info | Info | Value | | | ------------------------------...
![image](https://user-images.githubusercontent.com/17606832/183852798-cfca2a5b-940f-4f5c-a6a2-5e0203ef0433.png) 4.0.6版本 多加了一次建立链接,await导致超时设置失效。4.0.4版本正常
### Package dio ### Version 5.4.0 ### Operating-System Android ### Output of `flutter doctor -v` ```shell [✓] Flutter (Channel stable, 3.13.6, on macOS 14.2.1 23C71 darwin-arm64, locale en-US) • Flutter...
### Request Statement When printing exception information, it is impossible to quickly locate the source of the request. Here are some examples: DioException [connection timeout]: The request connection took longer...
### Package dio ### Version 5.3.3 ### Operating-System Android, Windows ### Output of `flutter doctor -v` ```shell Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel...
Fixes a redirect bug discovered during https://github.com/cfug/dio/pull/2077 where the adapter would fail to properly redirect if the location header contains a relative URL. ### New Pull Request Checklist - [x]...