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

Unified Diff: runtime/bin/http.dart

Issue 10232006: Check the state of the HTTP request and response when handling headers (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reverted unintentional edit Created 8 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 | « no previous file | runtime/bin/http_impl.dart » ('j') | runtime/bin/http_impl.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/http.dart
diff --git a/runtime/bin/http.dart b/runtime/bin/http.dart
index c90e8b2823d057944fb7d5f457ba9f21978b1cc8..176ccf5bf91fc6fe2a83fa7fc3694b07def0aac5 100644
--- a/runtime/bin/http.dart
+++ b/runtime/bin/http.dart
@@ -416,12 +416,16 @@ interface HttpClient default _HttpClient {
HttpClientConnection openUrl(String method, Uri url);
/**
- * Opens a HTTP connection using the GET method. See [open] for details.
+ * Opens a HTTP connection using the GET method. See [open] for
+ * details. Using this method to open a HTTP connection will set the
+ * content length to 0.
*/
HttpClientConnection get(String host, int port, String path);
/**
- * Opens a HTTP connection using the GET method. See [openUrl] for details.
+ * Opens a HTTP connection using the GET method. See [openUrl] for
+ * details. Using this method to open a HTTP connection will set the
+ * content length to 0.
*/
HttpClientConnection getUrl(Uri url);
« no previous file with comments | « no previous file | runtime/bin/http_impl.dart » ('j') | runtime/bin/http_impl.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698