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
16 files changed
tree: 5edbc7432be831ffc2b5dee9ee337123879baccd
  1. lib/
  2. test/
  3. CHANGELOG.md
  4. LICENSE
  5. pubspec.yaml
  6. README.md
README.md

http

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.

Using

Please see the API docs for explanations and examples.

Filing issues

Please file issues for the http package at http://dartbug.com/new.