|
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
Committed: https://code.google.com/p/dart/source/detail?r=34716
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+133 lines, -105 lines) |
Patch |
 |
M |
pkg/http/CHANGELOG.md
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/http/lib/http.dart
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/http/lib/src/base_client.dart
|
View
|
|
5 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/http/lib/src/byte_stream.dart
|
View
|
|
2 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
pkg/http/lib/src/client.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
pkg/http/lib/src/exception.dart
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/http/lib/src/io_client.dart
|
View
|
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
pkg/http/lib/src/multipart_file.dart
|
View
|
|
5 chunks |
+11 lines, -15 lines |
0 comments
|
Download
|
 |
M |
pkg/http/lib/src/multipart_request.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
pkg/http/lib/src/request.dart
|
View
|
|
6 chunks |
+24 lines, -29 lines |
0 comments
|
Download
|
 |
M |
pkg/http/lib/src/response.dart
|
View
|
|
2 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
pkg/http/lib/src/utils.dart
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/http/pubspec.yaml
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
pkg/http/test/http_test.dart
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/http/test/multipart_test.dart
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/http/test/utils.dart
|
View
|
|
2 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
 |
M |
pkg/oauth2/CHANGELOG.md
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/oauth2/lib/src/handle_access_token_response.dart
|
View
|
|
3 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
pkg/oauth2/pubspec.yaml
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub/bin/pub.dart
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub/lib/src/utils.dart
|
View
|
|
4 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|