Index: sdk/lib/io/http.dart |
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart |
index 9a54af20c27d0421de5a5aebcb119a3653b36218..97178dd2953dc719bb90fd0c9466b1c65f9eaea1 100644 |
--- a/sdk/lib/io/http.dart |
+++ b/sdk/lib/io/http.dart |
@@ -967,7 +967,7 @@ abstract class HttpClient { |
* using one of the write methods taking a string. |
*/ |
abstract class HttpClientRequest |
- implements IOSink<HttpClientRequest> { |
+ implements IOSink<HttpClientResponse> { |
/** |
* Gets and sets the content length of the request. If the size of |
* the request is not known in advance set content length to -1, |
@@ -996,10 +996,10 @@ abstract class HttpClientRequest |
* available. If an error occurs before the response is available, this |
* future will complete with an error. |
*/ |
- Future<HttpClientResponse> get response; |
+ Future<HttpClientResponse> get done; |
/** |
- * Close the request for input. Returns the value of [response]. |
+ * Close the request for input. Returns the value of [done]. |
*/ |
Future<HttpClientResponse> close(); |