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

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

Issue 11434030: Revert "Switch libraries to using new tags." (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 | « sdk/lib/io/file_impl.dart ('k') | sdk/lib/io/http_impl.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 part of dart_io;
6
7 /** 5 /**
8 * HTTP status codes. 6 * HTTP status codes.
9 */ 7 */
10 abstract class HttpStatus { 8 abstract class HttpStatus {
11 static const int CONTINUE = 100; 9 static const int CONTINUE = 100;
12 static const int SWITCHING_PROTOCOLS = 101; 10 static const int SWITCHING_PROTOCOLS = 101;
13 static const int OK = 200; 11 static const int OK = 200;
14 static const int CREATED = 201; 12 static const int CREATED = 201;
15 static const int ACCEPTED = 202; 13 static const int ACCEPTED = 202;
16 static const int NON_AUTHORITATIVE_INFORMATION = 203; 14 static const int NON_AUTHORITATIVE_INFORMATION = 203;
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 class RedirectLimitExceededException extends RedirectException { 1106 class RedirectLimitExceededException extends RedirectException {
1109 const RedirectLimitExceededException(List<RedirectInfo> redirects) 1107 const RedirectLimitExceededException(List<RedirectInfo> redirects)
1110 : super("Redirect limit exceeded", redirects); 1108 : super("Redirect limit exceeded", redirects);
1111 } 1109 }
1112 1110
1113 1111
1114 class RedirectLoopException extends RedirectException { 1112 class RedirectLoopException extends RedirectException {
1115 const RedirectLoopException(List<RedirectInfo> redirects) 1113 const RedirectLoopException(List<RedirectInfo> redirects)
1116 : super("Redirect loop detected", redirects); 1114 : super("Redirect loop detected", redirects);
1117 } 1115 }
OLDNEW
« no previous file with comments | « sdk/lib/io/file_impl.dart ('k') | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698