Home
last modified time | relevance | path

Searched refs:kGet (Results 1 – 13 of 13) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_utils_unittest.cc119 auto response = http::SendRequestAndBlock(request_type::kGet, in TEST()
129 EXPECT_EQ(request_type::kGet, response->ExtractDataAsString()); in TEST()
153 request_type::kGet, "http://blah.com", {}, transport, nullptr); in TEST()
170 http::SendRequestWithNoData(request_type::kGet, in TEST()
224 EXPECT_EQ(request_type::kGet, request.GetMethod()); in TEST()
233 transport->AddHandler(kFakeUrl, request_type::kGet, base::Bind(GetHandler)); in TEST()
240 EXPECT_EQ(request_type::kGet, response->ExtractDataAsString()); in TEST()
455 request_type::kGet, "http://blah.com", {}, transport, &error); in TEST()
478 http::SendRequestWithNoData(request_type::kGet, in TEST()
Dhttp_request_unittest.cc77 Request request2{"http://www.foo.bar/baz", request_type::kGet, transport_}; in TEST_F()
79 EXPECT_EQ(request_type::kGet, request2.GetRequestMethod()); in TEST_F()
149 Request request{"http://foo.bar", request_type::kGet, transport_}; in TEST_F()
192 CreateConnection("http://foo.bar", request_type::kGet, _, "", "", _)) in TEST_F()
Dhttp_transport_curl_unittest.cc70 request_type::kGet, in TEST_F()
156 "http://foo.bar/get", request_type::kGet, {}, "", "", &error); in TEST_F()
203 "http://foo.bar/get", request_type::kGet, {}, "", "", nullptr); in TEST_F()
297 "http://foo.bar/get", request_type::kGet, {}, "", "", nullptr); in TEST_F()
Dhttp_request.cc21 const char request_type::kGet[] = "GET"; member in brillo::http::request_type
270 if (method_ != request_type::kGet && method_ != request_type::kHead) { in SendRequestIfNeeded()
Dhttp_utils.cc29 request_type::kGet, url, headers, transport, error); in GetAndBlock()
37 return SendRequestWithNoData(request_type::kGet, in Get()
Dhttp_request.h27 BRILLO_EXPORT extern const char kGet[];
Dhttp_connection_curl.cc97 if (method_ != request_type::kGet) { in PrepareRequest()
Dhttp_transport_curl.cc170 if (method == request_type::kGet) { in CreateConnection()
/external/libweave/src/
Dhttp_constants.cc28 {HttpClient::Method::kGet, "GET"},
Ddevice_registration_info.cc509 DoCloudRequest(HttpClient::Method::kGet, GetDeviceURL(), nullptr, callback); in GetDeviceInfo()
1060 HttpClient::Method::kGet, in FetchCommands()
Ddevice_registration_info_unittest.cc354 SendRequest(HttpClient::Method::kGet, dev_reg_->GetDeviceURL(), in TEST_F()
/external/libweave/include/weave/provider/
Dhttp_client.h69 kGet, enumerator
/external/libweave/examples/provider/
Dcurl_http_client.cc69 case CurlHttpClient::Method::kGet: in SendRequestBlocking()