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

Unified Diff: runtime/bin/http.dart

Issue 10386040: Avoid using chunked transfer encoding when the HTTP verision is 1.0. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 8 years, 7 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') | no next file with comments »
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 2c7ddc4c263e4e8e513e1be5fec1d010836be29d..8df818c6860b809ab345361164442b9d91d36953 100644
--- a/runtime/bin/http.dart
+++ b/runtime/bin/http.dart
@@ -352,6 +352,12 @@ interface HttpRequest default _HttpRequest {
* the request data.
*/
InputStream get inputStream();
+
+ /**
+ * Returns the HTTP protocol version used in the request. This will
+ * be "1.0" or "1.1".
+ */
+ String get protocolVersion();
}
« no previous file with comments | « no previous file | runtime/bin/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698