OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HasHeader
(Results
1 - 25
of
46
) sorted by null
1
2
/external/chromium_org/net/tools/flip_server/
mem_cache_test.cc
70
ASSERT_TRUE(hello->headers()->
HasHeader
("key1"));
71
ASSERT_TRUE(hello->headers()->
HasHeader
("key2"));
72
ASSERT_TRUE(hello->headers()->
HasHeader
("transfer-encoding"));
73
ASSERT_TRUE(hello->headers()->
HasHeader
("connection"));
spdy_interface.cc
446
if (!headers.
HasHeader
("version"))
448
if (headers.
HasHeader
("X-Original-Url")) {
458
if (headers.
HasHeader
("X-Original-Url")) {
589
if (!mci->file_data->headers()->
HasHeader
("content-encoding")) {
590
if (mci->file_data->headers()->
HasHeader
("content-type")) {
mem_cache.cc
185
if (visitor.headers.
HasHeader
("expires")) {
/external/chromium/net/http/
http_request_headers_unittest.cc
13
TEST(HttpRequestHeaders,
HasHeader
) {
16
EXPECT_TRUE(headers.
HasHeader
("foo"));
17
EXPECT_TRUE(headers.
HasHeader
("Foo"));
18
EXPECT_FALSE(headers.
HasHeader
("Fo"));
21
EXPECT_TRUE(headers_ref.
HasHeader
("foo"));
22
EXPECT_TRUE(headers_ref.
HasHeader
("Foo"));
23
EXPECT_FALSE(headers_ref.
HasHeader
("Fo"));
http_request_headers.h
84
bool
HasHeader
(const base::StringPiece& key) const {
http_response_headers.h
163
bool
HasHeader
(const std::string& name) const;
http_util_unittest.cc
17
TEST(HttpUtilTest,
HasHeader
) {
32
bool result = HttpUtil::
HasHeader
(tests[i].headers, tests[i].name);
http_util.cc
282
bool HttpUtil::
HasHeader
(const std::string& headers, const char* name) {
619
if (net::HttpUtil::
HasHeader
(*headers, header_name))
http_util.h
70
static bool
HasHeader
(const std::string& headers, const char* name);
/external/chromium_org/net/http/
http_request_headers_unittest.cc
15
TEST(HttpRequestHeaders,
HasHeader
) {
18
EXPECT_TRUE(headers.
HasHeader
("foo"));
19
EXPECT_TRUE(headers.
HasHeader
("Foo"));
20
EXPECT_FALSE(headers.
HasHeader
("Fo"));
23
EXPECT_TRUE(headers_ref.
HasHeader
("foo"));
24
EXPECT_TRUE(headers_ref.
HasHeader
("Foo"));
25
EXPECT_FALSE(headers_ref.
HasHeader
("Fo"));
http_request_headers.h
87
bool
HasHeader
(const base::StringPiece& key) const {
http_response_headers.h
168
bool
HasHeader
(const base::StringPiece& name) const;
http_util.h
72
static bool
HasHeader
(const std::string& headers, const char* name);
http_util.cc
292
bool HttpUtil::
HasHeader
(const std::string& headers, const char* name) {
692
if (net::HttpUtil::
HasHeader
(*headers, header_name))
/external/chromium_org/net/websockets/
websocket_handshake_handler_test.cc
192
EXPECT_FALSE(request_info.extra_headers.
HasHeader
("Upgrade"));
193
EXPECT_FALSE(request_info.extra_headers.
HasHeader
("Connection"));
194
EXPECT_FALSE(request_info.extra_headers.
HasHeader
("Sec-WebSocket-Key"));
219
EXPECT_FALSE(response_info.headers->
HasHeader
("Upgrade"));
220
EXPECT_FALSE(response_info.headers->
HasHeader
("Connection"));
221
EXPECT_FALSE(response_info.headers->
HasHeader
("Sec-WebSocket-Accept"));
websocket_basic_handshake_stream.cc
131
DCHECK(!headers.
HasHeader
(websockets::kSecWebSocketKey));
132
DCHECK(!headers.
HasHeader
(websockets::kSecWebSocketProtocol));
133
DCHECK(!headers.
HasHeader
(websockets::kSecWebSocketExtensions));
134
DCHECK(headers.
HasHeader
(HttpRequestHeaders::kOrigin));
135
DCHECK(headers.
HasHeader
(websockets::kUpgrade));
136
DCHECK(headers.
HasHeader
(HttpRequestHeaders::kConnection));
137
DCHECK(headers.
HasHeader
(websockets::kSecWebSocketVersion));
/external/chromium_org/chrome/browser/android/
intercept_download_resource_throttle.cc
57
if (headers.
HasHeader
(net::HttpRequestHeaders::kAuthorization) ||
/external/chromium_org/chrome/browser/metrics/variations/
variations_http_header_provider_unittest.cc
77
EXPECT_TRUE(headers.
HasHeader
("X-Client-Data"));
95
EXPECT_FALSE(headers.
HasHeader
("X-Client-Data"));
/external/chromium/net/websockets/
websocket_handshake_handler_unittest.cc
204
EXPECT_FALSE(request_info.extra_headers.
HasHeader
("Upgrade"));
205
EXPECT_FALSE(request_info.extra_headers.
HasHeader
("Connection"));
206
EXPECT_FALSE(request_info.extra_headers.
HasHeader
("Sec-WebSocket-Key1"));
207
EXPECT_FALSE(request_info.extra_headers.
HasHeader
("Sec-WebSocket-Key2"));
235
EXPECT_FALSE(response_info.headers->
HasHeader
("Upgrade"));
236
EXPECT_FALSE(response_info.headers->
HasHeader
("Connection"));
/external/chromium_org/chrome/browser/signin/
signin_header_helper.cc
110
request->response_headers()->
HasHeader
(kChromeManageAccountsHeader)) {
/external/chromium_org/net/tools/balsa/
balsa_headers_test.cc
247
TEST_F(BalsaHeadersTest,
HasHeader
) {
250
ASSERT_TRUE(headers_->
HasHeader
("key1"));
251
ASSERT_FALSE(headers_->
HasHeader
("value1"));
252
ASSERT_FALSE(headers_->
HasHeader
("key2"));
/external/chromium/net/tools/flip_server/
spdy_interface.cc
465
if (!headers.
HasHeader
("status"))
467
if (!headers.
HasHeader
("version"))
469
if (headers.
HasHeader
("X-Original-Url")) {
591
if (!mci->file_data->headers->
HasHeader
("content-encoding")) {
592
if (mci->file_data->headers->
HasHeader
("content-type")) {
mem_cache.cc
188
if (visitor.headers.
HasHeader
("expires")) {
/external/chromium/chrome/browser/automation/
url_request_automation_job.cc
416
if (!new_request_headers.
HasHeader
(
422
if (!new_request_headers.
HasHeader
(
/external/chromium_org/net/tools/quic/
quic_in_memory_cache.cc
178
if (response_headers.
HasHeader
("X-Original-Url")) {
Completed in 393 milliseconds
1
2