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

Unified Diff: runtime/bin/http.dart

Issue 10008083: Add HTTP/1.0 support and simplify persistent connections handling (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') | runtime/bin/http_parser.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 f275a93e7c4611edff2dea64703637be3d3167e5..e687ec9df40580c6a57e953db54e029d6678e938 100644
--- a/runtime/bin/http.dart
+++ b/runtime/bin/http.dart
@@ -110,11 +110,6 @@ interface HttpRequest default _HttpRequest {
int get contentLength();
/**
- * Returns the keep alive state of the connection.
- */
- bool get keepAlive();
-
- /**
* Returns the method for the request.
*/
String get method();
@@ -164,13 +159,6 @@ interface HttpResponse default _HttpResponse {
int contentLength;
/**
- * Gets and sets the keep alive state of the connection. If the
- * associated request have a keep alive state of false setting keep
- * alive to true will have no effect.
- */
- bool keepAlive;
-
- /**
* Gets and sets the status code. Any integer value is accepted, but
* for the official HTTP status codes use the fields from
* [HttpStatus].
@@ -315,11 +303,6 @@ interface HttpClientRequest default _HttpClientRequest {
int contentLength;
/**
- * Gets and sets the keep alive state of the connection.
- */
- bool keepAlive;
-
- /**
* Gets and sets the " host part of the "Host" header for the
* connection. By default this will be set to the value of the host
* used when initiating the connection.
@@ -379,11 +362,6 @@ interface HttpClientResponse default _HttpClientResponse {
int get contentLength();
/**
- * Returns the keep alive state of the connection.
- */
- bool get keepAlive();
-
- /**
* Returns the date value for the "Expires" header. Returns null if
* the response has no "Expires" header. Throws a HttpException if
* the response has an "Expires" header which is not formatted as a
« no previous file with comments | « no previous file | runtime/bin/http_impl.dart » ('j') | runtime/bin/http_parser.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698