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

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

Issue 12380059: Fix type warnings and remove unimplemented stuff from HttpClient interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | sdk/lib/io/http_impl.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 e53f307a5dfc0acf3295b3cb4f16a717a1626da4..29f5a741d091347f9746a0e2d51baf20502fa6da 100644
--- a/sdk/lib/io/http.dart
+++ b/sdk/lib/io/http.dart
@@ -371,6 +371,16 @@ abstract class HttpHeaders {
* effect.
*/
ContentType contentType;
+
+ /**
+ * Gets and sets the content length header value.
+ */
+ int contentLength;
+
+ /**
+ * Gets and sets the persistent connection header value.
+ */
+ bool persistentConnection;
}
@@ -807,23 +817,6 @@ abstract class HttpClient {
void addCredentials(Uri url, String realm, HttpClientCredentials credentials);
/**
- * If [sendClientCertificate] is set to true, authenticate with a client
- * certificate when connecting with an HTTPS server that requests one.
- * Select the certificate from the certificate database that matches
- * the authorities listed by the HTTPS server as valid.
- * If [clientCertificate] is set, send the certificate with that nickname
- * instead.
- */
- set sendClientCertificate(bool send);
-
- /**
- * If [clientCertificate] is non-null and [sendClientCertificate] is true,
- * use [clientCertificate] to select the certificate to send from the
- * certificate database, looking it up by its nickname.
- */
- set clientCertificate(String nickname);
-
- /**
* Sets the function used to resolve the proxy server to be used for
* opening a HTTP connection to the specified [url]. If this
* function is not set, direct connections will always be used.
« no previous file with comments | « no previous file | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698