| 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 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 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1159 class RedirectLimitExceededException extends RedirectException { | 1157 class RedirectLimitExceededException extends RedirectException { |
| 1160 const RedirectLimitExceededException(List<RedirectInfo> redirects) | 1158 const RedirectLimitExceededException(List<RedirectInfo> redirects) |
| 1161 : super("Redirect limit exceeded", redirects); | 1159 : super("Redirect limit exceeded", redirects); |
| 1162 } | 1160 } |
| 1163 | 1161 |
| 1164 | 1162 |
| 1165 class RedirectLoopException extends RedirectException { | 1163 class RedirectLoopException extends RedirectException { |
| 1166 const RedirectLoopException(List<RedirectInfo> redirects) | 1164 const RedirectLoopException(List<RedirectInfo> redirects) |
| 1167 : super("Redirect loop detected", redirects); | 1165 : super("Redirect loop detected", redirects); |
| 1168 } | 1166 } |
| OLD | NEW |