Home
last modified time | relevance | path

Searched refs:HasHeaderValue (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/net/websockets/
Dwebsocket_handshake_stream_create_helper_test.cc111 EXPECT_TRUE(response.headers->HasHeaderValue("Connection", "Upgrade")); in CreateAndInitializeStream()
112 EXPECT_TRUE(response.headers->HasHeaderValue("Upgrade", "websocket")); in CreateAndInitializeStream()
Dwebsocket_handshake_handler_test.cc222 EXPECT_TRUE(response_info.headers->HasHeaderValue("Sec-WebSocket-Protocol", in TEST()
Dwebsocket_basic_handshake_stream.cc309 headers->HasHeaderValue(HttpRequestHeaders::kConnection, in ValidateUpgradeResponse()
/external/chromium_org/chrome/test/chromedriver/net/
Dwebsocket.cc220 !headers->HasHeaderValue("Upgrade", "WebSocket") || in OnReadDuringHandshake()
221 !headers->HasHeaderValue("Connection", "Upgrade") || in OnReadDuringHandshake()
222 !headers->HasHeaderValue("Sec-WebSocket-Accept", websocket_accept)) { in OnReadDuringHandshake()
/external/chromium/net/websockets/
Dwebsocket_handshake_handler_unittest.cc237 EXPECT_TRUE(response_info.headers->HasHeaderValue("Sec-WebSocket-Origin", in TEST()
239 EXPECT_TRUE(response_info.headers->HasHeaderValue("Sec-WebSocket-Location", in TEST()
241 EXPECT_TRUE(response_info.headers->HasHeaderValue("Sec-WebSocket-Protocol", in TEST()
/external/chromium_org/net/http/
Dhttp_response_headers.cc575 bool HttpResponseHeaders::HasHeaderValue(const base::StringPiece& name, in HasHeaderValue() function in net::HttpResponseHeaders
945 if (HasHeaderValue("cache-control", "no-cache") || in GetFreshnessLifetime()
946 HasHeaderValue("cache-control", "no-store") || in GetFreshnessLifetime()
947 HasHeaderValue("pragma", "no-cache") || in GetFreshnessLifetime()
948 HasHeaderValue("vary", "*")) // see RFC 2616 section 13.6 in GetFreshnessLifetime()
998 !HasHeaderValue("cache-control", "must-revalidate")) { in GetFreshnessLifetime()
1364 HasHeaderValue("Transfer-Encoding", "chunked"); in IsChunkEncoded()
Dhttp_response_headers.h163 bool HasHeaderValue(const base::StringPiece& name,
Dhttp_network_layer_unittest.cc91 EXPECT_TRUE(trans->GetResponseInfo()->headers->HasHeaderValue( in ExecuteRequestExpectingContentAndHeader()
559 EXPECT_TRUE(trans->GetResponseInfo()->headers->HasHeaderValue( in TEST_F()
Dhttp_cache_transaction.cc115 if (response->headers->HasHeaderValue("vary", "user-agent")) in RecordVaryHeaderHistogram()
1259 if (response_.headers->HasHeaderValue("cache-control", "no-store")) { in DoUpdateCachedResponse()
2265 response_.headers->HasHeaderValue("cache-control", "no-store")) || in WriteResponseInfoToEntry()
2417 response_.headers->HasHeaderValue("Accept-Ranges", "none") || in CanResume()
Dhttp_stream_parser_unittest.cc484 EXPECT_TRUE(response_info.headers->HasHeaderValue("Connection", "Upgrade")); in TEST()
485 EXPECT_TRUE(response_info.headers->HasHeaderValue("Upgrade", "websocket")); in TEST()
Dhttp_proxy_client_socket_pool_unittest.cc721 EXPECT_TRUE(headers->HasHeaderValue("content-length", "0")); in TEST_P()
/external/chromium_org/net/quic/
Dquic_http_stream_test.cc406 EXPECT_TRUE(response_.headers->HasHeaderValue("Content-Type", "text/plain")); in TEST_F()
454 EXPECT_TRUE(response_.headers->HasHeaderValue("Content-Type", "text/plain")); in TEST_F()
495 EXPECT_TRUE(response_.headers->HasHeaderValue("Content-Type", "text/plain")); in TEST_F()
545 EXPECT_TRUE(response_.headers->HasHeaderValue("Content-Type", "text/plain")); in TEST_F()
607 EXPECT_TRUE(response_.headers->HasHeaderValue("Content-Type", "text/plain")); in TEST_F()
/external/chromium/net/http/
Dhttp_response_headers.cc511 bool HttpResponseHeaders::HasHeaderValue(const std::string& name, in HasHeaderValue() function in net::HttpResponseHeaders
875 if (HasHeaderValue("cache-control", "no-cache") || in GetFreshnessLifetime()
876 HasHeaderValue("cache-control", "no-store") || in GetFreshnessLifetime()
877 HasHeaderValue("pragma", "no-cache") || in GetFreshnessLifetime()
878 HasHeaderValue("vary", "*")) // see RFC 2616 section 13.6 in GetFreshnessLifetime()
928 !HasHeaderValue("cache-control", "must-revalidate")) { in GetFreshnessLifetime()
Dhttp_response_headers.h159 bool HasHeaderValue(const std::string& name, const std::string& value) const;
Dhttp_cache_transaction.cc998 if (response_.headers->HasHeaderValue("cache-control", "no-store")) { in DoUpdateCachedResponse()
1890 response_.headers->HasHeaderValue("cache-control", "no-store")) || in WriteResponseInfoToEntry()
1993 response_.headers->HasHeaderValue("Accept-Ranges", "none") || in CanResume()
Dhttp_stream_parser.cc655 response_->headers->HasHeaderValue("Transfer-Encoding", "chunked")) { in CalculateResponseBodySize()
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_resource_dispatcher_host_delegate.cc616 if (!response_headers->HasHeaderValue("x-frame-options", "deny") && in OnResponseStarted()
617 !response_headers->HasHeaderValue("x-frame-options", "sameorigin")) { in OnResponseStarted()
/external/chromium_org/components/policy/core/common/cloud/
Ddevice_management_service.cc68 return fetcher->GetResponseHeaders()->HasHeaderValue( in IsProtobufMimeType()
/external/chromium_org/webkit/browser/appcache/
Dappcache_update_job.cc142 HasHeaderValue("cache-control", "no-store")) { in OnResponseStarted()
288 !request_->response_headers()->HasHeaderValue("retry-after", "0")) { in MaybeRetryRequest()
/external/chromium_org/net/spdy/
Dspdy_network_transaction_unittest.cc5343 EXPECT_TRUE(response2.headers->HasHeaderValue( in TEST_P()
5347 EXPECT_TRUE(response2.headers->HasHeaderValue( in TEST_P()
5349 EXPECT_TRUE(response2.headers->HasHeaderValue( in TEST_P()
5351 EXPECT_TRUE(response2.headers->HasHeaderValue( in TEST_P()
5354 EXPECT_TRUE(response2.headers->HasHeaderValue("hello", "bye")); in TEST_P()
5355 EXPECT_TRUE(response2.headers->HasHeaderValue("status", "200")); in TEST_P()
5356 EXPECT_TRUE(response2.headers->HasHeaderValue("version", "HTTP/1.1")); in TEST_P()
Dspdy_proxy_client_socket_unittest.cc556 ASSERT_TRUE(headers->HasHeaderValue("content-length", "0")); in TEST_P()
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
Dwebrequest_action.cc869 if (headers->HasHeaderValue(name_, value_)) in CreateDelta()
/external/chromium/net/spdy/
Dspdy_network_transaction_unittest.cc5318 EXPECT_TRUE(response2.headers->HasHeaderValue( in TEST_P()
5321 EXPECT_TRUE(response2.headers->HasHeaderValue("hello", "bye")); in TEST_P()
5322 EXPECT_TRUE(response2.headers->HasHeaderValue("status", "200")); in TEST_P()
5323 EXPECT_TRUE(response2.headers->HasHeaderValue("version", "HTTP/1.1")); in TEST_P()