commit | d5144b01b843d82bfeb66371a891a73d8f763b20 | [log] [tgz] |
---|---|---|
author | nweiz@google.com <nweiz@google.com> | Thu Apr 03 18:29:14 2014 +0000 |
committer | nweiz@google.com <nweiz@google.com> | Thu Apr 03 18:29:14 2014 +0000 |
tree | 5edbc7432be831ffc2b5dee9ee337123879baccd | |
parent | 0fa8396d5da9cebbfefab8cd7414c1ccef46dd0b [diff] |
Rip out dart:io from pkg/http wherever possible. This uses the http_parser package instead of dart:io's ContentType, ByteConversionSink instead of ByteBuffer, and a new ClientException type instead of HttpException. This still uses dart:io for the default Client implementation and for [MultipartFile.fromPath]. R=rnystrom@google.com Review URL: https://codereview.chromium.org//216603010 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/http@34716 260f80e4-7a28-3924-810f-c04153c831b5
A composable, Future-based library for making HTTP requests.
This package contains a set of high-level functions and classes that make it easy to consume HTTP resources.
NOTE: This package currently only works for server-side or command-line Dart applications. In other words, if the app imports dart:io
, it can use this package.
Please see the API docs for explanations and examples.
Please file issues for the http package at http://dartbug.com/new.