http
http copied to clipboard
A composable API for making HTTP requests in Dart.
When trying to make an HTTP request in a Flutter app, the following error is thrown (in `release`/`profile` mode only): ``` NoSuchMethodError: method not found: '$index' on null TypeError: Cannot...
See issue: https://github.com/dart-lang/http/issues/441 Made the sendUnstreamed public and added example to the readme.
The documentation for package:http says that send is the place to override if you want to intercept and modify requests. It advertises it as a middleware solution, and gives an...
So the app is requesting AWS server with loadbalancer also running, and passing the load balancer cookie inside request header is not working with http client . But when i...
this is my code  and the response headers i can got just like this:  this is the result in postman  so, can somebody tell my how can...
I have a backend endpoint that requires having `;type=application/json` at the end of the field's content. Otherwise, it throws 415 error. Here is working curl: `curl --location --request POST 'https://example.com'...
Can't make request with cookie. This is how it's done in curl: ```shell curl -sS -I "url" -H "Cookie: sjv=123" ``` This is how it's done in python ```python import...
I need to get data from one of my backend services and this request uses session cookie in header. I have the session cookie but when i am sending it...
When we use following code, the upload progress goes fast to 1.0 and then hangs there until upload is completed. This is preventing us from showing upload progress bar to...
The doc comment says that the body "can be a `String`, a `List` or a `Map`." however we allow any `List` or `Map` and then enforce the value types with...