Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: pkg/http/lib/src/base_response.dart

Issue 12045024: Fix map literals from change 17410 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/http/lib/src/base_request.dart ('k') | pkg/http/lib/src/io_client.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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, String>{}, 46 this.headers: const {},
47 this.isRedirect: false, 47 this.isRedirect: false,
48 this.persistentConnection: true, 48 this.persistentConnection: true,
49 this.reasonPhrase}); 49 this.reasonPhrase});
50 } 50 }
OLDNEW
« no previous file with comments | « pkg/http/lib/src/base_request.dart ('k') | pkg/http/lib/src/io_client.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698