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

Issue 9500014: Add statusCode and reasonPhrase getters and setters to the HttpResponse interface (Closed)

Created:
8 years, 9 months ago by Søren Gjesse
Modified:
8 years, 9 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add statusCode and reasonPhrase getters and setters to the HttpResponse interface These where missing in the interface. R=ager@google.com BUG=dart:1919 TEST=tests/standalone/src/HttpTest.dart Committed: https://code.google.com/p/dart/source/detail?r=4750

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -19 lines) Patch
M runtime/bin/http.dart View 1 2 chunks +17 lines, -8 lines 0 comments Download
M runtime/bin/http_impl.dart View 6 chunks +19 lines, -11 lines 0 comments Download
M tests/standalone/src/HttpTest.dart View 4 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Søren Gjesse
8 years, 9 months ago (2012-02-29 12:19:24 UTC) #1
Mads Ager (google)
lgtm https://chromiumcodereview.appspot.com/9500014/diff/1/runtime/bin/http.dart File runtime/bin/http.dart (right): https://chromiumcodereview.appspot.com/9500014/diff/1/runtime/bin/http.dart#newcode173 runtime/bin/http.dart:173: int get statusCode(); These in the interface should ...
8 years, 9 months ago (2012-02-29 12:34:12 UTC) #2
Søren Gjesse
8 years, 9 months ago (2012-02-29 12:50:07 UTC) #3
https://chromiumcodereview.appspot.com/9500014/diff/1/runtime/bin/http.dart
File runtime/bin/http.dart (right):

https://chromiumcodereview.appspot.com/9500014/diff/1/runtime/bin/http.dart#n...
runtime/bin/http.dart:173: int get statusCode();
On 2012/02/29 12:34:12, Mads Ager wrote:
> These in the interface should just be
> 
> int statusCode;
> String reasonPhrase;

Good point. Did the same for contentLength and keepAlive.

Powered by Google App Engine
This is Rietveld 408576698