http
http copied to clipboard
A composable API for making HTTP requests in Dart.
Related https://github.com/dart-lang/http/issues/974 `StreamQueue` is buffering everything it can consume before sending it to the remote. This still prevents tracking upload progress or sending large files. https://github.com/dart-lang/http/blob/b2067710f88980fc0fee43ec3380bce089f001db/pkgs/cupertino_http/lib/src/cupertino_api.dart#L124-L127 https://github.com/dart-lang/http/blob/b2067710f88980fc0fee43ec3380bce089f001db/pkgs/cupertino_http/lib/src/cupertino_client.dart#L219-L228
Hi. I am developing a bot wrapper for Telegram, and I am using MultipartRequest class to send a file from my local machine to the Telegram servers, but I am...
I have a use-case where I want to: 1. Use URLSession directly to run efficient large-file downloadTask's. 2. Make API calls using the simplified interface. I would like to use...
Here's my use case: On the home screen, I'm making a few API calls. Additionally, I want to upload stored data, which could involve 5 or more API calls. I'm...
BaseResponse has isRedirect field which tells whether redirection happens or not. But theres no field which tell final url. when redirections happens. Add RedirectUri field to BaseResponse
I'm not sure if this is an SDK problem or package problem. My Flutter application uses OAuth with Strava, SUUNTO, Under Armor, and Training Peaks APIs. This worked OK the...
The headers default to adding "Dart3.0" to the user-agent, resulting in some image sources detecting it as Dart's user agent and returning it directly to Forbidden. Can the author optimize...
# Info you may need * Dart SDK version: 2.19.0 (stable) (Mon Jan 23 11:29:09 2023 -0800) on "windows_x64" * Flutter 3.7.0 • channel stable • https://github.com/flutter/flutter.git Framework • revision...
a follow up to this issue: https://github.com/flutter/flutter/issues/59878 Ive created a test project: https://github.com/Antonimo/ps_test When running the project, this is the result:  expected: no HandshakeExceptions this is not "certificate verify"...
> Please describe the bug and how to reproduce it. I ran into a trouble using http package when I was consuming an API because the http package is using...