OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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; | 5 part of dart.io; |
6 | 6 |
7 /** | 7 /** |
8 * HTTP status codes. | 8 * HTTP status codes. |
9 */ | 9 */ |
10 abstract class HttpStatus { | 10 abstract class HttpStatus { |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 | 386 |
387 /** | 387 /** |
388 * Gets and sets the content length header value. | 388 * Gets and sets the content length header value. |
389 */ | 389 */ |
390 int contentLength; | 390 int contentLength; |
391 | 391 |
392 /** | 392 /** |
393 * Gets and sets the persistent connection header value. | 393 * Gets and sets the persistent connection header value. |
394 */ | 394 */ |
395 bool persistentConnection; | 395 bool persistentConnection; |
| 396 |
| 397 /** |
| 398 * Gets and sets the chunked transfer encoding header value. |
| 399 */ |
| 400 bool chunkedTransferEncoding; |
396 } | 401 } |
397 | 402 |
398 | 403 |
399 /** | 404 /** |
400 * Representation of a header value in the form: | 405 * Representation of a header value in the form: |
401 * | 406 * |
402 * [:value; parameter1=value1; parameter2=value2:] | 407 * [:value; parameter1=value1; parameter2=value2:] |
403 * | 408 * |
404 * [HeaderValue] can be used to conveniently build and parse header | 409 * [HeaderValue] can be used to conveniently build and parse header |
405 * values on this form. | 410 * values on this form. |
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1315 class RedirectLimitExceededException extends RedirectException { | 1320 class RedirectLimitExceededException extends RedirectException { |
1316 const RedirectLimitExceededException(List<RedirectInfo> redirects) | 1321 const RedirectLimitExceededException(List<RedirectInfo> redirects) |
1317 : super("Redirect limit exceeded", redirects); | 1322 : super("Redirect limit exceeded", redirects); |
1318 } | 1323 } |
1319 | 1324 |
1320 | 1325 |
1321 class RedirectLoopException extends RedirectException { | 1326 class RedirectLoopException extends RedirectException { |
1322 const RedirectLoopException(List<RedirectInfo> redirects) | 1327 const RedirectLoopException(List<RedirectInfo> redirects) |
1323 : super("Redirect loop detected", redirects); | 1328 : super("Redirect loop detected", redirects); |
1324 } | 1329 } |
OLD | NEW |