http icon indicating copy to clipboard operation
http copied to clipboard

A composable API for making HTTP requests in Dart.

Results 257 http issues
Sort by recently updated
recently updated
newest added

Hi, I just added a constructor that takes an optional `withCredentials` value.

cla: yes

If i make a long time post with MultipartRequest class i get a SocketException after 70 seconds Setting timeouts have no effect. **Exception:** SocketException: OS Error: Software caused connection abort,...

Do you think this will work better?

Fixes https://github.com/dart-lang/http/issues/769

This issue tracks the implementation of different `package:http Client` implementations. ## Status [`package:http_client_conformance_tests`](https://github.com/dart-lang/http/tree/master/pkgs/http_client_conformance_tests) has been implemented but not released. [`package:cupertino_http`](https://pub.dev/packages/cupertino_http) has been released as part of `labs.dart.dev`. [`package:cronet_http`](https://pub.dev/packages/cronet_http) is under...

type-enhancement

In which case the default Client will be used.

Sample code is here ``` final request = http.MultipartRequest('POST', Uri.parse("your_server_url")); request.files.add(http.MultipartFile.fromBytes("file", file.bytes, filename: file.name)); //your server may require a different key than "file" final response = await request.send(); // Now...

added onUploadProgress to `MultipartRequest.new` and `Client.send`. (adjusted file movements)

HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:359)) I have 4 apps live on Google Play Store from last few months , yesterday all...

``` final http.StreamedResponse response = await _client.send(request); int currProgress = 0; response.stream.listen((value) { currProgress += value.length; print(currProgress / contentLength); }); ``` `_client.send(request)` awaits for the upload to finish and then...