dio icon indicating copy to clipboard operation
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...

Results 163 dio issues
Sort by recently updated
recently updated
newest added

### New Pull Request Checklist - [x] I have read the [Documentation](https://pub.dartlang.org/packages/dio) - [x] I have searched for a similar pull request in the [project](https://github.com/flutterchina/dio/pulls) and found none - [x]...

dio send post error, how to resolve this problem

### New Pull Request Checklist - [X] I have read the [Documentation](https://pub.dartlang.org/packages/dio) - [X] I have searched for a similar pull request in the [project](https://github.com/flutterchina/dio/pulls) and found none - [X]...

```dart var cookieJar = CookieJar(); webVPN.interceptors.add(CookieManager(cookieJar)); ``` 在一个正常请求中得到的response中所看到的set-cookie`.then((response) => print(response.headers["set-cookie"]))` 和通过 interceptor中对onResponse处理时得到的额set-cookie不一样,缺少服务器发来的session id,我看这个问题似乎存在很久了,也有一大批人提到这个问题,还请开发者说明下该如何处理 ```dart @override Future onResponse(Response response,var handler) async { if(response.headers['set-cookie']!=null){ session = response.headers['set-cookie']![0].toString().split(";")[0]; } ```

What is the problem, this problem occurs frequently.

### New Issue Checklist - [x] I have searched for similar issues in the [project](https://github.com/flutterchina/dio/issues) and found the following: - #939 - #1166 - #1167 But they are all closed...

### New Issue Checklist - [✓] I have searched for a similar issue in the [project](https://github.com/flutterchina/dio/issues) and found none ### Issue Info [✓] Flutter (Channel unknown, 2.10.5, on Ubuntu 20.04.2...

### New Pull Request Checklist - [x] I have read the [Documentation](https://pub.dartlang.org/packages/dio) - [x] I have searched for a similar pull request in the [project](https://github.com/flutterchina/dio/pulls) and found none - [x]...

报错量非常多,咋整? CONNECT_TIMEOUT too many times。 used package Dio 4.0.4, but still the same.

### New Issue Checklist - [ ] I have searched for a similar issue in the [project](https://github.com/flutterchina/dio/issues) and found none ### Issue Info | Info | Value | | |...