name: An HTTP request fails when made through this client. about: You are attempting to make a GET or POST and getting an unexpected exception or status code.

This is not the repository you want to file issues in!

Note that a failing HTTP connection is almost certainly not caused by a bug in package:http.

This package is a wrapper around the HttpClient from dart:io and HttpRequest from dart:html. Before filing a bug here verify that the issue is not surfaced when using those interfaces directly.

Common problems:

None of these problems are influenced by the code in this repo.


  • Attempt the request outside of Dart, for instance in a browser or with curl.
  • Attempt the request with the dart:io or dart:html equivalent code paths.