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

Unified Diff: runtime/bin/http.dart

Issue 10315002: Improve the handling of the connection header (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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') | tests/standalone/io/http_connection_header_test.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 b0ebda607ee356eec82d8935365890a4a9b7112f..b6b4f2ea173e43b96511298911f9805b98971d8c 100644
--- a/runtime/bin/http.dart
+++ b/runtime/bin/http.dart
@@ -306,6 +306,11 @@ interface HttpRequest default _HttpRequest {
int get contentLength();
/**
+ * Returns the persistent connection state signaled by the client.
+ */
+ bool get persistentConnection();
+
+ /**
* Returns the method for the request.
*/
String get method();
@@ -368,6 +373,13 @@ interface HttpResponse default _HttpResponse {
String reasonPhrase;
/**
+ * Gets and sets the persistent connection state. The initial value
+ * of this property is the persistent connection state from the
+ * request.
+ */
+ bool persistentConnection;
+
+ /**
* Returns the response headers.
*/
HttpHeaders get headers();
« no previous file with comments | « no previous file | runtime/bin/http_impl.dart » ('j') | tests/standalone/io/http_connection_header_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698