Home
last modified time | relevance | path

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

/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/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/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()