Home
last modified time | relevance | path

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

/external/libbrillo/brillo/http/
Dhttp_form_data_unittest.cc158 FormData form_data{"boundary1"}; in TEST() local
159 form_data.AddTextField("name", "John Doe"); in TEST()
169 form_data.AddCustomField(std::move(files)); in TEST()
171 form_data.GetContentType()); in TEST()
173 StreamPtr stream = form_data.ExtractDataStream(); in TEST()
Dhttp_request.cc201 bool Request::AddRequestBodyAsFormData(std::unique_ptr<FormData> form_data, in AddRequestBodyAsFormData() argument
203 AddHeader(request_header::kContentType, form_data->GetContentType()); in AddRequestBodyAsFormData()
206 return connection_->SetRequestData(form_data->ExtractDataStream(), error); in AddRequestBodyAsFormData()
Dhttp_utils_unittest.cc350 std::unique_ptr<FormData> form_data{new FormData{"boundary123"}}; in TEST() local
351 form_data->AddTextField("key1", "value1"); in TEST()
352 form_data->AddTextField("key2", "value2"); in TEST()
353 std::string expected_content_type = form_data->GetContentType(); in TEST()
355 kFakeUrl, std::move(form_data), {}, transport, nullptr); in TEST()
Dhttp_utils.cc254 std::unique_ptr<FormData> form_data, in PostFormDataAndBlock() argument
260 if (!request.AddRequestBodyAsFormData(std::move(form_data), error)) in PostFormDataAndBlock()
283 std::unique_ptr<FormData> form_data, in PostFormData() argument
291 if (!request.AddRequestBodyAsFormData(std::move(form_data), &error)) { in PostFormData()
Dhttp_utils.h243 std::unique_ptr<FormData> form_data,
253 std::unique_ptr<FormData> form_data,
Dhttp_request.h246 bool AddRequestBodyAsFormData(std::unique_ptr<FormData> form_data,
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py434 form_data = self._testServer.get_form_entries()
435 logging.debug(form_data)
436 for e in form_data:
439 self._tmp_keyvals[key] += "_%s" % form_data[e]
441 self._tmp_keyvals[key] = form_data[e]
/external/jetty/src/java/org/eclipse/jetty/util/
DMultiPartInputStream.java563 boolean form_data=false; in parse()
577 form_data=true; in parse()
585 if(!form_data) in parse()