Home
last modified time | relevance | path

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

/external/libbrillo/brillo/http/
Dhttp_request_test.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_test.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_test.cc159 handle_, request_type::kPost, curl_api_, transport_); in SetUp()
Dhttp_transport_curl_test.cc151 "http://www.foo.bar/post", request_type::kPost, {}, "", "", nullptr); in TEST_F()
Dhttp_transport_curl.cc202 if (code == CURLE_OK && method != request_type::kPost) { in CreateConnection()
/external/tensorflow/tensorflow/core/platform/cloud/
Dhttp_request.h56 kPost, enumerator
66 case RequestMethod::kPost: in RequestMethodName()
Dcurl_http_request.cc285 method_ = RequestMethod::kPost; in SetPostFromBuffer()
300 method_ = RequestMethod::kPost; in SetPostEmptyBody()
Dcurl_http_request_test.cc905 EXPECT_EQ(HttpRequest::RequestMethod::kPost, stats.record_request_method_); in TEST()
910 EXPECT_EQ(HttpRequest::RequestMethod::kPost, stats.record_response_method_); in TEST()