Home
last modified time | relevance | path

Searched refs:HasHeader (Results 1 – 15 of 15) sorted by relevance

/external/chromium/net/http/
Dhttp_request_headers_unittest.cc13 TEST(HttpRequestHeaders, HasHeader) { in TEST() argument
16 EXPECT_TRUE(headers.HasHeader("foo")); in TEST()
17 EXPECT_TRUE(headers.HasHeader("Foo")); in TEST()
18 EXPECT_FALSE(headers.HasHeader("Fo")); in TEST()
21 EXPECT_TRUE(headers_ref.HasHeader("foo")); in TEST()
22 EXPECT_TRUE(headers_ref.HasHeader("Foo")); in TEST()
23 EXPECT_FALSE(headers_ref.HasHeader("Fo")); in TEST()
Dhttp_request_headers.h84 bool HasHeader(const base::StringPiece& key) const { in HasHeader() function
Dhttp_util_unittest.cc17 TEST(HttpUtilTest, HasHeader) { in TEST() argument
32 bool result = HttpUtil::HasHeader(tests[i].headers, tests[i].name); in TEST()
Dhttp_response_headers.h163 bool HasHeader(const std::string& name) const;
Dhttp_util.h70 static bool HasHeader(const std::string& headers, const char* name);
Dhttp_util.cc282 bool HttpUtil::HasHeader(const std::string& headers, const char* name) { in HasHeader() function in net::HttpUtil
612 if (net::HttpUtil::HasHeader(*headers, header_name)) in AppendHeaderIfMissing()
Dhttp_stream_parser.cc605 if (!headers->HasHeader("Transfer-Encoding") && in DoParseResponseHeaders()
Dhttp_cache_unittest.cc876 EXPECT_TRUE(request->extra_headers.HasHeader(kExtraHeaderKey)); in RangeHandler()
915 if (!request->extra_headers.HasHeader("If-None-Match") || modified_) { in RangeHandler()
1451 EXPECT_TRUE(request->extra_headers.HasHeader(kExtraHeaderKey)); in PreserveRequestHeaders_Handler()
2184 request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)); in ETagGet_ConditionalRequest_Handler()
2219 request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)); in ETagGet_ConditionalRequest_NoStore_Handler()
Dhttp_response_headers.cc526 bool HttpResponseHeaders::HasHeader(const std::string& name) const { in HasHeader() function in net::HttpResponseHeaders
Dhttp_cache_transaction.cc1379 if (request_->extra_headers.HasHeader(HttpRequestHeaders::kRange)) in SetRequest()
/external/chromium/net/websockets/
Dwebsocket_handshake_handler_unittest.cc204 EXPECT_FALSE(request_info.extra_headers.HasHeader("Upgrade")); in TEST()
205 EXPECT_FALSE(request_info.extra_headers.HasHeader("Connection")); in TEST()
206 EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key1")); in TEST()
207 EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key2")); in TEST()
235 EXPECT_FALSE(response_info.headers->HasHeader("Upgrade")); in TEST()
236 EXPECT_FALSE(response_info.headers->HasHeader("Connection")); in TEST()
/external/chromium/net/tools/flip_server/
Dspdy_interface.cc465 if (!headers.HasHeader("status")) in SendSynStreamImpl()
467 if (!headers.HasHeader("version")) in SendSynStreamImpl()
469 if (headers.HasHeader("X-Original-Url")) { in SendSynStreamImpl()
591 if (!mci->file_data->headers->HasHeader("content-encoding")) { in GetOutput()
592 if (mci->file_data->headers->HasHeader("content-type")) { in GetOutput()
Dmem_cache.cc188 if (visitor.headers.HasHeader("expires")) { in ReadAndStoreFileContents()
Dbalsa_headers.h718 inline bool HasHeader(const base::StringPiece& key) const { in HasHeader() function
/external/chromium/chrome/browser/automation/
Durl_request_automation_job.cc416 if (!new_request_headers.HasHeader( in StartAsync()
422 if (!new_request_headers.HasHeader( in StartAsync()