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

Unified Diff: sdk/lib/io/http.dart

Issue 14753005: Enable parsing of IPv6 form addresse (see rfc2373 and rfc2732). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix tets. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/swarm/swarm_ui_lib/util/Uri.dart ('k') | sdk/lib/uri/uri.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http.dart
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart
index 853b8581dc7a540144728dd33e5e04999117a9ce..87cabc3083be9fbbd050d7dc6da2ec18295bfb64 100644
--- a/sdk/lib/io/http.dart
+++ b/sdk/lib/io/http.dart
@@ -806,7 +806,7 @@ abstract class HttpResponse implements IOSink {
* provided which provides access to the headers and body of the response.
*
* HttpClient client = new HttpClient();
- * client.getUrl(new Uri.fromString("http://www.example.com/"))
+ * client.getUrl(Uri.parse("http://www.example.com/"))
* .then((HttpClientRequest request) {
* // Prepare the request then call close on it to send it.
* return request.close();
« no previous file with comments | « samples/swarm/swarm_ui_lib/util/Uri.dart ('k') | sdk/lib/uri/uri.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698