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

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

Issue 12378040: Add missing certificate getter on HttpClientResponse and add a regression test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix long line. Created 7 years, 9 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 | « no previous file | 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) 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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 * is not available. 941 * is not available.
942 */ 942 */
943 HttpConnectionInfo get connectionInfo; 943 HttpConnectionInfo get connectionInfo;
944 } 944 }
945 945
946 946
947 /** 947 /**
948 * HTTP response for a client connection. The [HttpClientResponse] is a 948 * HTTP response for a client connection. The [HttpClientResponse] is a
949 * [Stream] of the body content of the response. Listen to the body to handle 949 * [Stream] of the body content of the response. Listen to the body to handle
950 * the data and be notified once the entire body is received. 950 * the data and be notified once the entire body is received.
951
952 */ 951 */
953 abstract class HttpClientResponse implements Stream<List<int>> { 952 abstract class HttpClientResponse implements Stream<List<int>> {
954 /** 953 /**
955 * Returns the status code. 954 * Returns the status code.
956 */ 955 */
957 int get statusCode; 956 int get statusCode;
958 957
959 /** 958 /**
960 * Returns the reason phrase associated with the status code. 959 * Returns the reason phrase associated with the status code.
961 */ 960 */
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 class RedirectLimitExceededException extends RedirectException { 1124 class RedirectLimitExceededException extends RedirectException {
1126 const RedirectLimitExceededException(List<RedirectInfo> redirects) 1125 const RedirectLimitExceededException(List<RedirectInfo> redirects)
1127 : super("Redirect limit exceeded", redirects); 1126 : super("Redirect limit exceeded", redirects);
1128 } 1127 }
1129 1128
1130 1129
1131 class RedirectLoopException extends RedirectException { 1130 class RedirectLoopException extends RedirectException {
1132 const RedirectLoopException(List<RedirectInfo> redirects) 1131 const RedirectLoopException(List<RedirectInfo> redirects)
1133 : super("Redirect loop detected", redirects); 1132 : super("Redirect loop detected", redirects);
1134 } 1133 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698