http 0.11.0+1 copy "http: ^0.11.0+1" to clipboard
http: ^0.11.0+1 copied to clipboard

outdatedDart 1 only

A composable, Future-based API for making HTTP requests.

0.11.0+1 #

  • Fix a bug in handling errors in decoding XMLHttpRequest responses for BrowserClient.

0.11.0 #

  • The package no longer depends on dart:io. The BrowserClient class in package:http/browser_client.dart can now be used to make requests on the browser.

  • Change MultipartFile.contentType from dart:io's ContentType type to http_parser's MediaType type.

  • Exceptions are now of type ClientException rather than dart:io's HttpException.

0.10.0 #

  • Make BaseRequest.contentLength and BaseResponse.contentLength use null to indicate an unknown content length rather than -1.

  • The contentLength parameter to new BaseResponse is now named rather than positional.

  • Make request headers case-insensitive.

  • Make MultipartRequest more closely adhere to browsers' encoding conventions.

8k
likes
0
points
7.73M
downloads

Publisher

verified publisherdart.dev

Weekly Downloads

A composable, Future-based API for making HTTP requests.

Homepage

License

unknown (license)

Dependencies

http_parser, path, stack_trace

More

Packages that depend on http