http icon indicating copy to clipboard operation
http copied to clipboard

A composable API for making HTTP requests in Dart.

Results 257 http issues
Sort by recently updated
recently updated
newest added

Hello, I need to post some data to a distant API. But it looks like the API wants `Content-Type: application/json` but I'm sending a `Content-Type: application/json; charset=utf-8`. I forced the...

type-bug

Please add support for form data in HTTP post request body parameter. I was using map as parameter, but the API accepts form data only. So, I always got "bad...

Hi, When a user uploads a file in my app, I want to show him a progress bar. I'm looking for a way to listen to the amount of bytes...

Hey I am facing a really weird problem I am not able to solve... I wrote a client for a wifi router I am working with right now. I am...

Hello [As suggested here](https://github.com/flutter/flutter/issues/16879), I would like to submit one issue with `http.MultipartRequest`. How to support utf-8 format for the body fields? I'm writing a Flutter application, which includes a...

needs-info

**Steps to Reproduce** 1. Create a new project. 2. Import the package http or dio. 3. Make a simple post http request to a rest api. **Expected results:** 1. I...

It seems like neither `abort` or `cancel` method are provided from http package, though there is `abort` in dart:io package for httpClientRequest. Is it safe to call `close` on client...

needs-info

**Bug Description** When parsing `set-cookie`, some semicolon `;` will be parsed as comma `,` **Example** {set-cookie: csrftoken=ZA7fXs4ScVxMLdMIhWlFEK3ZNVJPsZ1hTi10UDYTxKladlSGcehmx3piUi7f9lLv; expires=Tue, 26 Oct 2021 02:23:26 GMT; Max-Age=31449600; `Path=/; SameSite=Lax,sessionid=m7jhocc4gvob79r4txtl9r0nuws25yr7`; expires=Tue, 10 Nov 2020...

I have this request working on a Linux terminal: `curl -X POST "https://my-api.plantnet.org/v2/identify/all?api-key=11111111111111111111" -H "accept: application/json" -F "organs=flower" -F "organs=leaf" -F "images=@images/image_1.jpeg" -F "images=@images/image_2.jpeg" ` As you may have seen...