Home
last modified time | relevance | path

Searched refs:kHead (Results 1 – 8 of 8) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_request.cc22 const char request_type::kHead[] = "HEAD"; member in brillo::http::request_type
247 if (method_ != request_type::kHead) { in SendRequestIfNeeded()
270 if (method_ != request_type::kGet && method_ != request_type::kHead) { in SendRequestIfNeeded()
Dhttp_connection_fake.cc110 if (request_.GetMethod() != request_type::kHead) { in ExtractDataStream()
Dhttp_utils.cc49 request_type::kHead, url, {}, transport, error); in HeadAndBlock()
56 return SendRequestWithNoData(request_type::kHead, in Head()
Dhttp_request.h28 BRILLO_EXPORT extern const char kHead[];
Dhttp_connection_curl.cc143 if (method_ != request_type::kHead) { in PrepareRequest()
Dhttp_utils_test.cc252 EXPECT_EQ(request_type::kHead, request.GetMethod()); in TEST()
259 transport->AddHandler(kFakeUrl, request_type::kHead, base::Bind(HeadHandler)); in TEST()
Dhttp_transport_curl_test.cc121 "http://foo.bar/head", request_type::kHead, {}, "", "", nullptr); in TEST_F()
Dhttp_transport_curl.cc191 } else if (method == request_type::kHead) { in CreateConnection()