http
http copied to clipboard
A composable API for making HTTP requests in Dart.
We cannot use RetryClient in `Isolate.run` because of the use of `StreamController` in `StreamedRequest` for making a copy of requests. Example main.dart ```dart import 'dart:isolate'; import 'package:http/http.dart'; import 'package:http/retry.dart'; import...
Please check [here](https://github.com/cfug/dio/issues/1878) for a write-up on this bug. I have found a solution to this bug, documenting this here in order to help other people if they may face...
With Multipart form data, it is allowed to have multiple fields of the same name with different values and they all are submitted to the server. A curl example of...
Hello, We noticed that first http request is pretty slow due to connection delay and subsequent request are fast. Inside app we call same server on different endpoints and the...
Facing the above issue when uploading an image to the server.
Is it possible to pass ConnectionTimeout to IOClient, in version http:1.0.0 method signature not allow me do it ("createHttpClient"). For example, something like this. ``` //Stub http.Client createHttpClient({ Duration? connectionTimeout,...
When using the following code to send a request, the server receives the password not as `^pwd` but as `%5Epwd`. ```dart http.get(Uri.parse('https://user:%[email protected]')) ```
**Issue by [trinarytree](https://github.com/trinarytree)** _Originally opened as dart-lang/sdk#19005_ --- https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart-io.Cookie seems to only be available to the server. that forces other libraries, e.g. https://docs.angulardart.org/#angular-core.Cookies to implement their own; or (gasp) the...
I am getting an NDK crash in `libdartjni.so (GetApplicationContext+60)` when I upload a release build of my APK to the Play Store. (The debug build runs fine locally.)  I...