http
http copied to clipboard
A composable API for making HTTP requests in Dart.
I have the following code: ``` Future sendStreamAsync({ required Uri uri, required Stream stream, required int length, Map? headers, }) async { headers = headers ?? Map(); headers[HttpHeaders.contentTypeHeader] = CONTENT_TYPE_BINARY;...
Http network throw Connection closed before full header was received exception when requesting multipart data. I tested with the native HTTP client (iOS). It works fine. Demo project [test_http.zip](https://github.com/dart-lang/http/files/7077392/test_http.zip) Native...
The fields property of the MultipartRequest class is typed like so: ```dart final fields = {}; ``` Which prevents to pass some null values to it: ```dart var request =...
Hi Dartlang 'http' Module Maintainers, Thanks for making this module. I'm using it in a new app. The app needs to know why a request failed so it can display...
Reading RFC 6266 and RFC 2388 and looking at my Eiffel web framework server side library code, to handle uploading of files using multipart/form-data it seems something is off somewhere....
When `followRedirects` is set to `true` for a GET request, there seems to be know way to know the final redirected URL. An issue that reports this: https://stackoverflow.com/questions/56861837/how-to-get-redirect-url-in-dart-flutter The `request`...
If you create a GET request that has a header of Content-Type = "application/json" and a body of null, C# will accept this on Android and other platforms if you...
guys i really need help on that i want to access this website (http://1.0.0.1/orion/summary.aspx) it redirect me to this website (http://1.0.0.1/orion/login.aspx) i tried many authentications tech but it didn't work...
This is either a regression in package version 0.12.0 or there is a tighter type check in Dart 2.7.0. When making a request with this library, if the underlying connection...
Hello, Following[ this stackoverflow issue](https://stackoverflow.com/questions/64241766/how-to-get-a-cookie-in-flutter-web-from-header) that Someone created, i have the exact same problem : I have a problem with HTTP request on the latest beta version of Flutter Web...