| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. | 
| 4 | 4 | 
| 5 class _HttpHeaders implements HttpHeaders { | 5 class _HttpHeaders implements HttpHeaders { | 
| 6   _HttpHeaders() : _headers = new Map<String, List<String>>(); | 6   _HttpHeaders() : _headers = new Map<String, List<String>>(); | 
| 7 | 7 | 
| 8   List<String> operator[](String name) { | 8   List<String> operator[](String name) { | 
| 9     name = name.toLowerCase(); | 9     name = name.toLowerCase(); | 
| 10     return _headers[name]; | 10     return _headers[name]; | 
| (...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1120 | 1120 | 
| 1121 class _HttpInputStream extends _BaseDataInputStream implements InputStream { | 1121 class _HttpInputStream extends _BaseDataInputStream implements InputStream { | 
| 1122   _HttpInputStream(_HttpRequestResponseBase this._requestOrResponse) { | 1122   _HttpInputStream(_HttpRequestResponseBase this._requestOrResponse) { | 
| 1123     _checkScheduleCallbacks(); | 1123     _checkScheduleCallbacks(); | 
| 1124   } | 1124   } | 
| 1125 | 1125 | 
| 1126   int available() { | 1126   int available() { | 
| 1127     return _requestOrResponse._streamAvailable(); | 1127     return _requestOrResponse._streamAvailable(); | 
| 1128   } | 1128   } | 
| 1129 | 1129 | 
| 1130   void pipe(OutputStream output, [bool close = true]) { | 1130   void pipe(OutputStream output, {bool close: true}) { | 
| 1131     _pipe(this, output, close: close); | 1131     _pipe(this, output, close: close); | 
| 1132   } | 1132   } | 
| 1133 | 1133 | 
| 1134   List<int> _read(int bytesToRead) { | 1134   List<int> _read(int bytesToRead) { | 
| 1135     List<int> result = _requestOrResponse._streamRead(bytesToRead); | 1135     List<int> result = _requestOrResponse._streamRead(bytesToRead); | 
| 1136     _checkScheduleCallbacks(); | 1136     _checkScheduleCallbacks(); | 
| 1137     return result; | 1137     return result; | 
| 1138   } | 1138   } | 
| 1139 | 1139 | 
| 1140   void set onError(void callback(e)) { | 1140   void set onError(void callback(e)) { | 
| (...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2291 | 2291 | 
| 2292 | 2292 | 
| 2293 class _RedirectInfo implements RedirectInfo { | 2293 class _RedirectInfo implements RedirectInfo { | 
| 2294   const _RedirectInfo(int this.statusCode, | 2294   const _RedirectInfo(int this.statusCode, | 
| 2295                       String this.method, | 2295                       String this.method, | 
| 2296                       Uri this.location); | 2296                       Uri this.location); | 
| 2297   final int statusCode; | 2297   final int statusCode; | 
| 2298   final String method; | 2298   final String method; | 
| 2299   final Uri location; | 2299   final Uri location; | 
| 2300 } | 2300 } | 
| OLD | NEW | 
|---|