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

Have a Flutter App that is able to receive SSE text/event-stream events when running on mobile but it is not receiving the same SSE text/event-stream events when running on the...

This is an effort trying to tackle the problems discussed in #567, #424, and #204. This solution introduces a `CancellationToken`, which is passed into the http-methods of `Client` e.g.: ```dart...

cla: yes

De-obfuscated stack-trace : #0 _HttpClientConnection.send (dart:_http/http_impl.dart:2116:23) #1 _CryptoUtils.bytesToBase64 (dart:_http/crypto.dart) #2 new _Uri.https (dart:core/uri.dart:1462:12)

I am trying to call post url but the body payload needs to be empty. While requesting the api from postman, it is working fine. However, when calling from dart...

"HandshakeException: Connection terminated during handshake" or "{"code":401,"message":"Unauthorized"}" error when using flutter HttpClient for SNI request. Ask the operation and maintenance and learn that the two types of errors are different...

Trying to make api call from flutter using **http** package but getting this error...the api is doesn't require any custom headers or configuration. And it's not even blocked at firewall...

I am requesting some information from the a server, which returns the following (using postman): Headers: Allow →GET, HEAD, OPTIONS CF-RAY →439e4801cf3db955-MIA Connection →keep-alive Content-Encoding →gzip Content-Type →application/json Body: {...

type-enhancement

Converted the fields Map to List of MapEntry objects

cla: yes

Fixes #458 This pull basically adds the following interface: ```dart // set callback for specific client ioClient.setBadCertificateCallback((cert, host, port) => true, false); // or set it globally (which will even...

cla: yes

You can check if that fixes everything, but for me it worked as expected. Before I had the annoying issue that my app would crash completely without any try-catch etc....

cla: yes