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

Issue 66603002: Improve the HTTP client error when the provided URI is not suitable (Closed)

Created:
7 years, 1 month ago by Søren Gjesse
Modified:
7 years ago
Reviewers:
Bill Hesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Improve the HTTP client error when the provided URI is not suitable This will provide a better error message for e.g. unquoted IPv6 literal addresses (http://::1:8888/) R=whesse@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=30151

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -4 lines) Patch
M sdk/lib/io/http_impl.dart View 1 chunk +5 lines, -3 lines 0 comments Download
M tests/standalone/io/http_client_exception_test.dart View 1 1 chunk +20 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Søren Gjesse
7 years, 1 month ago (2013-11-08 12:22:37 UTC) #1
Bill Hesse
lgtm https://codereview.chromium.org/66603002/diff/1/tests/standalone/io/http_client_exception_test.dart File tests/standalone/io/http_client_exception_test.dart (right): https://codereview.chromium.org/66603002/diff/1/tests/standalone/io/http_client_exception_test.dart#newcode20 tests/standalone/io/http_client_exception_test.dart:20: () => client.getUrl(Uri.parse('http://::1')), Also add a test for ...
7 years, 1 month ago (2013-11-08 14:54:31 UTC) #2
Søren Gjesse
Committed patchset #2 manually as r30151 (presubmit successful).
7 years, 1 month ago (2013-11-11 11:27:57 UTC) #3
Søren Gjesse
7 years ago (2013-11-28 13:47:19 UTC) #4
Message was sent while issue was closed.
Sending old draft comment.

https://codereview.chromium.org/66603002/diff/1/tests/standalone/io/http_clie...
File tests/standalone/io/http_client_exception_test.dart (right):

https://codereview.chromium.org/66603002/diff/1/tests/standalone/io/http_clie...
tests/standalone/io/http_client_exception_test.dart:20: () =>
client.getUrl(Uri.parse('http://::1')),
On 2013/11/08 14:54:32, Bill Hesse wrote:
> Also add a test for http:///index.html?

Good point. Added http:///, /// and ///index.html as well.

Powered by Google App Engine
This is Rietveld 408576698