| 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 library base_response; | 5 library base_response; | 
| 6 | 6 | 
| 7 import 'dart:io'; | 7 import 'dart:io'; | 
| 8 | 8 | 
| 9 import 'base_request.dart'; | 9 import 'base_request.dart'; | 
| 10 | 10 | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
| 36   final bool isRedirect; | 36   final bool isRedirect; | 
| 37 | 37 | 
| 38   /// Whether the server requested that a persistent connection be maintained. | 38   /// Whether the server requested that a persistent connection be maintained. | 
| 39   final bool persistentConnection; | 39   final bool persistentConnection; | 
| 40 | 40 | 
| 41   /// Creates a new HTTP response. | 41   /// Creates a new HTTP response. | 
| 42   BaseResponse( | 42   BaseResponse( | 
| 43       this.statusCode, | 43       this.statusCode, | 
| 44       this.contentLength, | 44       this.contentLength, | 
| 45       {this.request, | 45       {this.request, | 
| 46        this.headers: const <String>{}, | 46        this.headers: const <String, String>{}, | 
| 47        this.isRedirect: false, | 47        this.isRedirect: false, | 
| 48        this.persistentConnection: true, | 48        this.persistentConnection: true, | 
| 49        this.reasonPhrase}); | 49        this.reasonPhrase}); | 
| 50 } | 50 } | 
| OLD | NEW | 
|---|