Home
last modified time | relevance | path

Searched refs:postData (Results 1 – 17 of 17) sorted by relevance

/third_party/node/deps/npm/node_modules/request/lib/
Dhar.js34 data.postData.jsonObj = false
35 data.postData.paramsObj = false
65 return data.postData.mimeType.indexOf(type) === 0
75 data.postData.mimeType = 'multipart/form-data'
78 if (!data.postData.params) {
79 data.postData.text = ''
81 data.postData.paramsObj = data.postData.params.reduce(this.reducer, {})
84 data.postData.text = qs.stringify(data.postData.paramsObj)
91 data.postData.mimeType = 'application/json'
93 if (data.postData.text) {
[all …]
/third_party/cef/tests/ceftests/
Drequest_unittest.cc31 CefRefPtr<CefPostData> postData(CefPostData::Create()); in TEST() local
32 EXPECT_TRUE(postData.get() != nullptr); in TEST()
56 postData->AddElement(element1); in TEST()
57 postData->AddElement(element2); in TEST()
58 EXPECT_EQ((size_t)2, postData->GetElementCount()); in TEST()
61 postData->RemoveElement(element1); in TEST()
62 EXPECT_EQ((size_t)1, postData->GetElementCount()); in TEST()
65 postData->RemoveElements(); in TEST()
66 EXPECT_EQ((size_t)0, postData->GetElementCount()); in TEST()
68 postData->AddElement(element1); in TEST()
[all …]
Durlrequest_unittest.cc348 CefRefPtr<CefPostData> postData = CefPostData::Create(); in SetUploadData() local
351 postData->AddElement(element); in SetUploadData()
352 request->SetPostData(postData); in SetUploadData()
356 CefRefPtr<CefPostData> postData = CefPostData::Create(); in SetUploadFile() local
359 postData->AddElement(element); in SetUploadFile()
360 request->SetPostData(postData); in SetUploadFile()
364 CefRefPtr<CefPostData> postData = request->GetPostData(); in GetUploadData() local
365 EXPECT_TRUE(postData.get()); in GetUploadData()
367 postData->GetElements(elements); in GetUploadData()
/third_party/cef/libcef_dll/ctocpp/
Drequest_ctocpp.cc174 void CefRequestCToCpp::SetPostData(CefRefPtr<CefPostData> postData) { in SetPostData() argument
182 DCHECK(postData.get()); in SetPostData()
183 if (!postData.get()) in SetPostData()
187 _struct->set_post_data(_struct, CefPostDataCToCpp::Unwrap(postData)); in SetPostData()
284 CefRefPtr<CefPostData> postData, in Set() argument
310 CefPostDataCToCpp::Unwrap(postData), headerMapMultimap); in Set()
Drequest_ctocpp.h46 void SetPostData(CefRefPtr<CefPostData> postData) override;
55 CefRefPtr<CefPostData> postData,
/third_party/cef/libcef_dll/cpptoc/
Drequest_cpptoc.cc172 struct _cef_post_data_t* postData) { in request_set_post_data() argument
179 DCHECK(postData); in request_set_post_data()
180 if (!postData) in request_set_post_data()
184 CefRequestCppToC::Get(self)->SetPostData(CefPostDataCppToC::Unwrap(postData)); in request_set_post_data()
275 struct _cef_post_data_t* postData, in request_set() argument
302 CefPostDataCppToC::Unwrap(postData), in request_set()
/third_party/cef/include/
Dcef_request.h128 virtual void SetPostData(CefRefPtr<CefPostData> postData) = 0;
168 CefRefPtr<CefPostData> postData,
/third_party/cef/include/capi/
Dcef_request_capi.h124 struct _cef_post_data_t* postData);
166 struct _cef_post_data_t* postData,
/third_party/skia/third_party/externals/swiftshader/src/Main/
DSwiftConfig.cpp191 const char *postData = strstr(request, "\r\n\r\n"); in respond() local
192 postData = postData ? postData + 4 : 0; in respond()
194 if(postData && strlen(postData) > 0) in respond()
196 parsePost(postData); in respond()
/third_party/node/deps/npm/node_modules/har-schema/lib/
Dindex.js17 postData: require('./postData.json'), property
/third_party/cef/tests/cefclient/browser/
Dtest_runner.cc141 CefRefPtr<CefPostData> postData(CefPostData::Create()); in RunRequestTest() local
142 postData->AddElement(postDataElement); in RunRequestTest()
143 request->SetPostData(postData); in RunRequestTest()
656 CefRefPtr<CefPostData> postData = request->GetPostData(); in DumpRequestContents() local
657 if (postData.get()) { in DumpRequestContents()
659 postData->GetElements(elements); in DumpRequestContents()
/third_party/cef/libcef/common/
Drequest_impl.h66 void SetPostData(CefRefPtr<CefPostData> postData) override;
75 CefRefPtr<CefPostData> postData,
Drequest_impl.cc262 void CefRequestImpl::SetPostData(CefRefPtr<CefPostData> postData) { in SetPostData() argument
266 postdata_ = postData; in SetPostData()
325 CefRefPtr<CefPostData> postData, in Set() argument
339 if (postdata_ != postData) { in Set()
341 postdata_ = postData; in Set()
/third_party/node/deps/npm/node_modules/har-validator/lib/
Dpromise.js84 exports.postData = function (data) { function
Dasync.js87 exports.postData = function (data, next) { function
/third_party/node/deps/npm/node_modules/request/
DREADME.md685 …well as construct multipart data and read files from disk when `request.postData.params[].fileName…
706 postData: {
/third_party/node/doc/api/
Dhttp.md2871 const postData = JSON.stringify({
2882 'Content-Length': Buffer.byteLength(postData)
2903 req.write(postData);