Commit Graph

21 Commits

Author SHA1 Message Date
nweiz@google.com b2a13038b2 Always treat headers as individual strings in pkg/http.
BUG=8049

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17819 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 00:06:40 +00:00
sigmund@google.com aeca565ae9 Fix build for throwsStateError: remove duplicate definitions in other tests.
Review URL: https://codereview.chromium.org//12088056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17812 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 21:47:05 +00:00
floitsch@google.com ed938af868 Rename new Uri.fromString to Uri.parse.
Review URL: https://codereview.chromium.org//12052038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17562 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 13:26:18 +00:00
hausner@google.com a885f8638b Fix map literals from change 17410
Remove any type arguments from map literals
that had one type argument before change 17410.
Review URL: https://codereview.chromium.org//12045024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17412 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 17:31:29 +00:00
hausner@google.com dc3bf6646a Stop supporting map literals with 1 type argument
To be checked in next week Tue (Jan 22)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17410 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 16:48:00 +00:00
nweiz@google.com 013b0104f5 Add an ErrorGroup class to Pub.
Review URL: https://codereview.chromium.org//11941003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17106 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 00:12:30 +00:00
nweiz@google.com fcff2fb2d9 Fix ALL the pub tests.
Review URL: https://codereview.chromium.org//11830017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16888 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 21:37:40 +00:00
nweiz@google.com 5741f611ba Update pkg/http to use the new async APIs.
Review URL: https://codereview.chromium.org//11825010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16834 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 03:10:42 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
rnystrom@google.com ac04fc6c18 Convert pkg/http to use "package:" imports.
Review URL: https://codereview.chromium.org//11746009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16620 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-04 00:10:47 +00:00
nweiz@google.com a8eb61fb8b Fix analyzer errors and warnings for pkg/http.
BUG=7458

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16238 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 00:26:15 +00:00
sgjesse@google.com 93514a3b28 Reapply "Stop working around issue 6984."
Originally committted in r15804 and reverted in r15825.

Issue 6984 should be fixed by r15951.

R=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15961 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 10:03:21 +00:00
nweiz@google.com 29318c2f5c Revert "Stop working around issue 6984."
Review URL: https://codereview.chromium.org//11464015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15825 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:09:19 +00:00
nweiz@google.com 01dd8fcb4e Stop working around issue 6984.
Review URL: https://codereview.chromium.org//11464006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15804 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 20:50:21 +00:00
nweiz@google.com 558ffd19bf Work around issue 6984.
This ensures that before an HTTP response is closed, its corresponding
request is drained of input.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15476 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 22:43:10 +00:00
nweiz@google.com 06e7344e22 Make #maxRedirects and #followRedirects work for the dart:io HTTP client.
Review URL: https://codereview.chromium.org//11414195

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15433 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 01:54:16 +00:00
nweiz@google.com 47393b62a0 Add an HTTP client based on Curl.
Review URL: https://codereview.chromium.org//11394003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14811 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 22:01:14 +00:00
sgjesse@google.com ada7ba7414 Add debug print to try to find the issue with test pkg/http/test/request_test.dart
The flakines of the test have not been reproduced locally (neither on
Linux nor on Windows). Adding debug print for more diagnstics.

R=ahe@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14579 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 15:57:39 +00:00
nweiz@google.com 549efe3bdf Add an HTTP library that wraps dart:io.
Review URL: https://codereview.chromium.org//11363063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14502 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 20:55:01 +00:00
nweiz@google.com e6a33d23fb Reverting 14496
Review URL: https://codereview.chromium.org//11293075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14498 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 20:13:14 +00:00
nweiz@google.com f6f3e1d556 Add an HTTP library that wraps dart:io.
Review URL: https://codereview.chromium.org//11338054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14496 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 19:45:04 +00:00