http
http copied to clipboard
A composable API for making HTTP requests in Dart.
http 1.2.0 (was 1.1.2) js 0.6.7 (0.7.0 available) matcher 0.12.16 (0.12.16+1 available) material_color_utilities 0.5.0 (0.8.0 available) meta 1.10.0 (1.11.0 available)
It seems to be a **huge** issue on Windows. I've spend many hours and can reproduce it 100% times. How to reproduce: 1. Create an empty app with HTTPs call...
When I use `MultipartFile` constructors I could not specify the `contentType` property because `MediaType` from `http_parser` package is used internally in `multipart_file.dart` file and not exported into the target project.
I mean Response cancellation than Request cancellation. i.e. After received response, I wanna cancel response. following is usecase ```dart final response = await c.send(request); if (response.contentLength != null && response.contentLength!...
Hi, I use http package to connect through the proxy in windows and it works. ` httpClient.findProxy = (uri) { return "PROXY ip:port"; }; IOClient client = IOClient(httpClient); ` The...
I report this exception when I use the following request: final http.Response response = await http.get( url, headers: { HttpHeaders.contentTypeHeader: 'application/json; charset=UTF-8', HttpHeaders.authorizationHeader:"Bearer " + token, }, ); print('response=' +...
`CupertinoClient` doesn't close the underlying connection when calling `close()` on it. It will just prevent sending further requests. It is an issue because a persistent connection won't be closed, and...
- Thanks for your contribution! Please replace this text with a description of what this PR is changing or adding and why, list any relevant issues, and review the contribution...
When I am uploading a video of 500mb to the server, then it gives me error - **RangeError: Array buffer allocation failed** C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/native_typed_data.dart 1069:7 _create1 C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/native_typed_data.dart 1039:42 new C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/convert/byte_conversion.dart 86:19...
I'm not sure if this is a bug, or a feature request. We use nodejs to test our projects when compiled with dart2js, but we noticed that the HTTP APIs...