Index: sdk/lib/io/http_impl.dart |
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart |
index 880d771a6af82c11f95d3160ce67e8236d8d43ed..2b2bb8675ef4e948d3d9f04c7b3caa9e5bc0753f 100644 |
--- a/sdk/lib/io/http_impl.dart |
+++ b/sdk/lib/io/http_impl.dart |
@@ -431,15 +431,15 @@ abstract class _HttpOutboundMessage<T> extends _IOSinkImpl { |
String protocolVersion, |
_HttpOutgoing outgoing, |
{_HttpHeaders initialHeaders}) |
- : super(outgoing, null), |
- _uri = uri, |
+ : _uri = uri, |
headers = new _HttpHeaders( |
protocolVersion, |
defaultPortForScheme: uri.scheme == 'https' ? |
HttpClient.DEFAULT_HTTPS_PORT : |
HttpClient.DEFAULT_HTTP_PORT, |
initialHeaders: initialHeaders), |
- _outgoing = outgoing { |
+ _outgoing = outgoing, |
+ super(outgoing, null) { |
_outgoing.outbound = this; |
_encodingMutable = false; |
} |
@@ -718,8 +718,8 @@ class _HttpClientRequest extends _HttpOutboundMessage<HttpClientResponse> |
_HttpClientRequest(_HttpOutgoing outgoing, Uri uri, this.method, this._proxy, |
this._httpClient, this._httpClientConnection) |
- : super(uri, "1.1", outgoing), |
- uri = uri { |
+ : uri = uri, |
+ super(uri, "1.1", outgoing) { |
// GET and HEAD have 'content-length: 0' by default. |
if (method == "GET" || method == "HEAD") { |
contentLength = 0; |