Home
last modified time | relevance | path

Searched refs:kPost (Results 1 – 14 of 14) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_request_unittest.cc69 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F()
75 EXPECT_EQ(request_type::kPost, request.GetRequestMethod()); in TEST_F()
83 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F()
89 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F()
95 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F()
101 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F()
107 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F()
124 request_type::kPost, in TEST_F()
Dhttp_utils_unittest.cc45 kEchoUrl, request_type::kPost, base::Bind(EchoDataHandler)); in TEST()
50 http::SendRequestAndBlock(request_type::kPost, in TEST()
67 kEchoUrl, request_type::kPost, base::Bind(EchoDataHandler)); in TEST()
82 http::SendRequest(request_type::kPost, in TEST()
102 http::SendRequestAndBlock(request_type::kPost, in TEST()
112 EXPECT_EQ(request_type::kPost, response->ExtractDataAsString()); in TEST()
194 request_type::kPost, json_echo_url, "abcd", 4, in TEST()
205 EXPECT_EQ(request_type::kPost, value); in TEST()
271 EXPECT_EQ(request_type::kPost, request.GetMethod()); in TEST()
285 transport->AddHandler(kFakeUrl, request_type::kPost, base::Bind(Handler)); in TEST()
[all …]
Dhttp_utils.cc190 return SendRequestAndBlock(request_type::kPost, in PostBinaryAndBlock()
207 return SendRequest(request_type::kPost, in PostBinary()
225 return SendRequest(request_type::kPost, in PostBinary()
258 Request request(url, request_type::kPost, transport); in PostFormDataAndBlock()
288 Request request(url, request_type::kPost, transport); in PostFormData()
Dhttp_request.h29 BRILLO_EXPORT extern const char kPost[];
Dhttp_request.cc23 const char request_type::kPost[] = "POST"; member in brillo::http::request_type
Dhttp_connection_curl_unittest.cc158 handle_, request_type::kPost, curl_api_, transport_); in SetUp()
Dhttp_transport_curl_unittest.cc118 "http://www.foo.bar/post", request_type::kPost, {}, "", "", nullptr); in TEST_F()
Dhttp_transport_curl.cc183 if (code == CURLE_OK && method != request_type::kPost) { in CreateConnection()
/external/libweave/src/
Ddevice_registration_info_unittest.cc252 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), in TEST_F()
273 SendRequest(HttpClient::Method::kPost, HasSubstr("upsertLocalAuthInfo"), in TEST_F()
295 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), in TEST_F()
324 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), in TEST_F()
491 SendRequest(HttpClient::Method::kPost, in TEST_F()
512 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), in TEST_F()
535 SendRequest(HttpClient::Method::kPost, HasSubstr("upsertLocalAuthInfo"), in TEST_F()
Dhttp_constants.cc29 {HttpClient::Method::kPost, "POST"},
Dweave_unittest.cc409 ExpectRequest(HttpClient::Method::kPost, in TEST_F()
414 ExpectRequest(HttpClient::Method::kPost, in TEST_F()
418 ExpectRequest(HttpClient::Method::kPost, HasSubstr("upsertLocalAuthInfo"), in TEST_F()
Ddevice_registration_info.cc378 RequestSender sender{HttpClient::Method::kPost, GetOAuthURL("token"), in RefreshAccessToken()
563 RequestSender{HttpClient::Method::kPost, url, http_client_}.Send( in RegisterDeviceOnTicketSent()
598 RequestSender sender2{HttpClient::Method::kPost, GetOAuthURL("token"), in RegisterDeviceOnTicketFinalized()
955 DoCloudRequest(HttpClient::Method::kPost, url, root.get(), in SendAuthInfo()
1187 DoCloudRequest(HttpClient::Method::kPost, GetDeviceURL("patchState"), &body, in PublishStateUpdates()
/external/libweave/include/weave/provider/
Dhttp_client.h71 kPost, enumerator
/external/libweave/examples/provider/
Dcurl_http_client.cc72 case CurlHttpClient::Method::kPost: in SendRequestBlocking()
90 if (!data.empty() || method == CurlHttpClient::Method::kPost) { in SendRequestBlocking()