http
http copied to clipboard
A composable API for making HTTP requests in Dart.
We currently support `multipart/form-data` with `MultipartRequest`, but we don't support `multipart/related`. I needed a multipart/related request and it ended up being easiest to copy some values from this implementation. ```dart...
- [X] I’ve reviewed the contributor guide and applied the relevant portions to this PR. Contribution guidelines: - See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general expectations for PRs. - Larger or...
- [X] I’ve reviewed the contributor guide and applied the relevant portions to this PR. Contribution guidelines: - See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general expectations for PRs. - Larger or...
- Check all of the Dart packages in one workflow and the Flutter ones in separate workflows. --- - [X] I’ve reviewed the contributor guide and applied the relevant portions...
Items in this PR: - [x] Generate JNI Bindings for required Caching Classes from OkHttp - [x] Add Parameters to `OkHttpClientConfiguration` to enable/disable cache --- - [x] I’ve reviewed the...
With the introduction of the cupertino_http and cronet_http only Windows and Linux Dart and Flutter apps can't use the benefits of HTTP2 while staying compatible with he abstract `http.Client` interface....
- [ ] dart-lang/http2#124 - [ ] dart-lang/http#1377
- https://github.com/cfug/dio/pull/2220#issuecomment-2118544840 - https://github.com/cfug/dio/actions/runs/9135981572/job/25124169253?pr=2220 ## Steps to reproduce 1. Clone https://github.com/cfug/dio and enter the directory. 2. `melos bs`. 3. Run the test with `plugins/http2_adapter/test/test_suite_test.dart`.
https://github.com/dart-lang/http2/blob/master/lib/src/streams/stream_handler.dart attached link to the code, how to expose StreamState?
my code is a little different from the big await loop in example: ```dart final req = transport.makeRequest( headers.entries.map((e) => Header.ascii(e.key, e.value)).toList(growable: false), endStream: false, ); req.sendData(utf8.encode(body), endStream: true); final...