/external/chromium/net/http/ |
D | http_cache_transaction.cc | 148 cancel_request &= (response_.headers->response_code() == 200); in ~Transaction() 889 if (response_.headers->response_code() == 206 || partial_.get()) { in BeginCacheRead() 923 if (response_.headers->response_code() != 206 && !partial_.get() && in BeginPartialCacheValidation() 1033 if (response_.headers->response_code() != 200 || truncated_ || in BeginExternallyConditionalizedRequest() 1114 if (response_.headers->response_code() == 206 && !enable_range_support_) in RequiresValidation() 1132 if (!enable_range_support_ && response_.headers->response_code() != 200) { in ConditionalizeRequest() 1138 if (response_.headers->response_code() != 200 && in ConditionalizeRequest() 1139 response_.headers->response_code() != 206) in ConditionalizeRequest() 1211 int response_code = headers->response_code(); in ValidatePartialResponse() local 1212 bool partial_response = enable_range_support_ ? response_code == 206 : false; in ValidatePartialResponse() [all …]
|
D | partial_data.cc | 127 DCHECK_EQ(headers->response_code(), 200); in UpdateFromStoredHeaders() 147 if (headers->response_code() == 200) { in UpdateFromStoredHeaders() 191 if (headers->response_code() == 304) { in ResponseHeadersOK()
|
D | http_response_headers.cc | 160 DCHECK(new_headers.response_code() == 304 || in Update() 161 new_headers.response_code() == 206); in Update() 752 bool HttpResponseHeaders::IsRedirectResponseCode(int response_code) { in IsRedirectResponseCode() argument 755 return (response_code == 301 || in IsRedirectResponseCode() 756 response_code == 302 || in IsRedirectResponseCode() 757 response_code == 303 || in IsRedirectResponseCode() 758 response_code == 307); in IsRedirectResponseCode()
|
D | http_response_headers.h | 176 static bool IsRedirectResponseCode(int response_code); 236 int response_code() const { return response_code_; } in response_code() function
|
D | http_network_transaction.cc | 339 DCHECK_EQ(407, headers->response_code()); in Read() 340 LogBlockedTunnelResponse(headers->response_code()); in Read() 988 switch (response_.headers->response_code()) { in DoReadHeadersComplete() 1020 LogBlockedTunnelResponse(response_.headers->response_code()); in DoReadHeadersComplete() 1030 if (response_.headers->response_code() / 100 == 1) { in DoReadHeadersComplete() 1394 int response_code) const { in LogBlockedTunnelResponse() 1395 LOG(WARNING) << "Blocked proxy response with status " << response_code in LogBlockedTunnelResponse() 1796 int status = headers->response_code(); in HandleAuthChallenge()
|
D | http_response_info.cc | 84 DCHECK_NE(headers->response_code(), -1); in InitFromPickle()
|
D | http_stream_parser.cc | 296 if (response_->headers->response_code() / 100 == 1) { in DoReadHeadersComplete() 481 switch (response_->headers->response_code()) { in CalculateResponseBodySize()
|
D | http_network_transaction.h | 145 void LogBlockedTunnelResponse(int response_code) const;
|
D | http_response_headers_unittest.cc | 66 EXPECT_EQ(test.expected_response_code, parsed->response_code()); in TestCommon()
|
D | http_network_transaction_unittest.cc | 1220 EXPECT_EQ(407, response->headers->response_code()); in TEST_F() 1244 EXPECT_EQ(407, response->headers->response_code()); in TEST_F() 1301 EXPECT_EQ(407, response->headers->response_code()); in TEST_F()
|
/external/chromium/net/ftp/ |
D | ftp_network_transaction.cc | 202 int response_code) { in GetErrorClass() argument 203 if (response_code >= 100 && response_code <= 199) in GetErrorClass() 206 if (response_code >= 200 && response_code <= 299) in GetErrorClass() 209 if (response_code >= 300 && response_code <= 399) in GetErrorClass() 212 if (response_code >= 400 && response_code <= 499) in GetErrorClass() 215 if (response_code >= 500 && response_code <= 599) in GetErrorClass()
|
D | ftp_network_transaction.h | 112 static ErrorClass GetErrorClass(int response_code);
|
/external/chromium/net/base/ |
D | filter_unittest.h | 31 void SetResponseCode(int response_code) { response_code_ = response_code; } in SetResponseCode() argument
|
/external/chromium/third_party/libevent/test/ |
D | regress_http.c | 505 if (req->response_code != HTTP_OK) { in http_request_done() 534 if (req->response_code != HTTP_OK) { in http_request_empty_done() 587 if (req->response_code != HTTP_OK) { in http_dispatcher_test_done() 768 if (req->response_code != HTTP_OK) { in http_postrequest_done() 850 if (req == NULL || req->response_code != HTTP_OK) { in close_detect_done() 888 if (req != NULL && req->response_code != HTTP_OK) { in close_detect_cb() 1239 if (req->response_code != HTTP_OK) { in http_chunked_request_done()
|
D | regress_rpc.c | 161 if (req->response_code != HTTP_SERVUNAVAIL) { in rpc_postrequest_failure() 239 if (req->response_code != HTTP_OK) { in rpc_postrequest_done()
|
/external/chromium/third_party/libevent/ |
D | http.c | 466 req->major, req->minor, req->response_code, in evhttp_make_header_response() 1238 req->response_code = atoi(number); in evhttp_parse_response_line() 1239 if (!evhttp_valid_response_code(req->response_code)) { in evhttp_parse_response_line() 1646 if (req->response_code == HTTP_NOCONTENT || in evhttp_read_header() 1647 req->response_code == HTTP_NOTMODIFIED || in evhttp_read_header() 1648 (req->response_code >= 100 && req->response_code < 200)) { in evhttp_read_header() 1650 __func__, req->response_code)); in evhttp_read_header() 1994 req->response_code = code; in evhttp_response_code()
|
D | evhttp.h | 219 int response_code; /* HTTP Response code */ member
|
/external/chromium/net/url_request/ |
D | url_request_http_job.cc | 221 return response_info_->headers->response_code(); in GetResponseCode() 303 DCHECK(response_info_->headers->response_code() == 401 || in GetAuthChallengeInfo() 304 response_info_->headers->response_code() == 407); in GetAuthChallengeInfo()
|
D | url_request_test_job.cc | 196 *http_status_code = response_headers_->response_code(); in IsRedirectResponse()
|
D | url_request_unittest.cc | 1803 EXPECT_EQ(200, req.response_headers()->response_code()); in TEST_F() 1835 EXPECT_EQ(200, req.response_headers()->response_code()); in TEST_F() 1867 EXPECT_EQ(200, req.response_headers()->response_code()); in TEST_F() 1896 EXPECT_EQ(200, req.response_headers()->response_code()); in TEST_F() 1926 EXPECT_EQ(200, req.response_headers()->response_code()); in TEST_F()
|
D | url_request_job.cc | 86 *http_status_code = headers->response_code(); in IsRedirectResponse()
|
/external/chromium/net/websockets/ |
D | websocket.cc | 224 if (headers->response_code() == 407) { in CheckHandshake() 229 << "response_code=" << headers->response_code() in CheckHandshake()
|
/external/chromium/net/socket_stream/ |
D | socket_stream.cc | 660 switch (headers->response_code()) { in DoReadTunnelHeadersComplete()
|
/external/chromium/net/tools/flip_server/ |
D | flip_in_mem_edsm_server.cc | 1546 block["status"] = headers.response_code().as_string(); in SendSynStreamImpl() 1573 block["status"] = headers.response_code().as_string() + " " + in SendSynReplyImpl()
|
D | balsa_headers.h | 1007 const base::StringPiece response_code() const { in response_code() function
|