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

Issue 21411003: Add redirect method to HttpResponse (Closed)

Created:
7 years, 4 months ago by Søren Gjesse
Modified:
7 years, 4 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add redirect method to HttpResponse BUG=http://dartbug.com/9612 R=ajohnsen@google.com Committed: https://code.google.com/p/dart/source/detail?r=25730

Patch Set 1 #

Total comments: 23

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -9 lines) Patch
M sdk/lib/io/http.dart View 1 1 chunk +15 lines, -0 lines 0 comments Download
M sdk/lib/io/http_impl.dart View 1 2 chunks +8 lines, -1 line 0 comments Download
M tests/standalone/io/http_redirect_test.dart View 1 5 chunks +41 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Søren Gjesse
7 years, 4 months ago (2013-08-01 13:45:22 UTC) #1
Anders Johnsen
lgtm https://codereview.chromium.org/21411003/diff/1/sdk/lib/io/http.dart File sdk/lib/io/http.dart (right): https://codereview.chromium.org/21411003/diff/1/sdk/lib/io/http.dart#newcode848 sdk/lib/io/http.dart:848: * Send a redirect to [location] to the ...
7 years, 4 months ago (2013-08-02 08:22:03 UTC) #2
Bill Hesse
https://codereview.chromium.org/21411003/diff/1/sdk/lib/io/http_impl.dart File sdk/lib/io/http_impl.dart (right): https://codereview.chromium.org/21411003/diff/1/sdk/lib/io/http_impl.dart#newcode713 sdk/lib/io/http_impl.dart:713: if (location is String) location =Uri.parse(location); = Uri.parse https://codereview.chromium.org/21411003/diff/1/sdk/lib/io/http_impl.dart#newcode717 ...
7 years, 4 months ago (2013-08-02 08:27:36 UTC) #3
Søren Gjesse
Ended up removing the code for generating an absolute URI. Also changed the type of ...
7 years, 4 months ago (2013-08-02 09:01:05 UTC) #4
Søren Gjesse
7 years, 4 months ago (2013-08-02 09:14:32 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r25730 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698