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

Side by Side Diff: sdk/lib/io/http_headers.dart

Issue 11571081: Add "part of" to one file in dart:io missing it (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « no previous file | no next file » | 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 part of dart.io;
6
5 class _HttpHeaders implements HttpHeaders { 7 class _HttpHeaders implements HttpHeaders {
6 _HttpHeaders() : _headers = new Map<String, List<String>>(); 8 _HttpHeaders() : _headers = new Map<String, List<String>>();
7 9
8 List<String> operator[](String name) { 10 List<String> operator[](String name) {
9 name = name.toLowerCase(); 11 name = name.toLowerCase();
10 return _headers[name]; 12 return _headers[name];
11 } 13 }
12 14
13 String value(String name) { 15 String value(String name) {
14 name = name.toLowerCase(); 16 name = name.toLowerCase();
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 642
641 String name; 643 String name;
642 String value; 644 String value;
643 Date expires; 645 Date expires;
644 int maxAge; 646 int maxAge;
645 String domain; 647 String domain;
646 String path; 648 String path;
647 bool httpOnly = false; 649 bool httpOnly = false;
648 bool secure = false; 650 bool secure = false;
649 } 651 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698