Make BaseRequest.contentType use null rather than -1 as a flag value.

BUG=
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//196423017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/http@33781 260f80e4-7a28-3924-810f-c04153c831b5
11 files changed
tree: d5a276d3cb8c66d621168f7cb4f379d96241b60d
  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.