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. |