Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Issue 14019002: Introduce new HttpBodyHandler to easily extract full body of HttpRequest and HttpClientResponse. (Closed)

Created:
7 years, 8 months ago by Anders Johnsen
Modified:
7 years, 8 months ago
CC:
reviews_dartlang.org, Mads Ager (google), Bill Hesse
Visibility:
Public.

Description

Introduce new HttpBodyHandler to easily extract full body of HttpRequest and HttpClientResponse. BUG=https://code.google.com/p/dart/issues/detail?id=8834 Committed: https://code.google.com/p/dart/source/detail?r=21202

Patch Set 1 #

Patch Set 2 : Extend tests and document. #

Patch Set 3 : #

Total comments: 37

Patch Set 4 : #

Total comments: 18

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+423 lines, -0 lines) Patch
M runtime/bin/io.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
A sdk/lib/io/http_body.dart View 1 2 3 4 1 chunk +139 lines, -0 lines 0 comments Download
A sdk/lib/io/http_body_impl.dart View 1 2 3 4 1 chunk +119 lines, -0 lines 0 comments Download
M sdk/lib/io/io.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/io/iolib_sources.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A tests/standalone/io/http_body_test.dart View 1 2 3 4 1 chunk +161 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Anders Johnsen
Soeren: This is based almost 100% on the proposal you made. Bill, Mads: Feel free ...
7 years, 8 months ago (2013-04-10 06:12:56 UTC) #1
Søren Gjesse
LGTM, thanks for doing this - I think people will be happy. The only thing ...
7 years, 8 months ago (2013-04-10 07:09:11 UTC) #2
Mads Ager (google)
LGTM once a couple of methods in the implementation class have been made private. https://codereview.chromium.org/14019002/diff/3007/sdk/lib/io/http_body.dart ...
7 years, 8 months ago (2013-04-10 08:20:26 UTC) #3
Anders Johnsen
PTAL, changes based on offline chat. https://codereview.chromium.org/14019002/diff/3007/sdk/lib/io/http_body.dart File sdk/lib/io/http_body.dart (right): https://codereview.chromium.org/14019002/diff/3007/sdk/lib/io/http_body.dart#newcode8 sdk/lib/io/http_body.dart:8: * A helper-class ...
7 years, 8 months ago (2013-04-10 12:52:48 UTC) #4
Mads Ager (google)
Still LGTM. But please make sure users cannot add more values to the HttpBodyType type. ...
7 years, 8 months ago (2013-04-10 13:01:07 UTC) #5
Søren Gjesse
lgtm https://codereview.chromium.org/14019002/diff/14001/sdk/lib/io/http_body.dart File sdk/lib/io/http_body.dart (right): https://codereview.chromium.org/14019002/diff/14001/sdk/lib/io/http_body.dart#newcode17 sdk/lib/io/http_body.dart:17: * HttpServer server = ... I think you ...
7 years, 8 months ago (2013-04-10 13:20:45 UTC) #6
Anders Johnsen
Ty, landing. https://codereview.chromium.org/14019002/diff/14001/sdk/lib/io/http_body.dart File sdk/lib/io/http_body.dart (right): https://codereview.chromium.org/14019002/diff/14001/sdk/lib/io/http_body.dart#newcode17 sdk/lib/io/http_body.dart:17: * HttpServer server = ... On 2013/04/10 ...
7 years, 8 months ago (2013-04-10 13:46:06 UTC) #7
Anders Johnsen
7 years, 8 months ago (2013-04-10 13:50:57 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 manually as r21202 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698