Home
last modified time | relevance | path

Searched refs:content_disposition (Results 1 – 12 of 12) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_form_data.cc29 const char content_disposition::kFile[] = "file";
30 const char content_disposition::kFormData[] = "form-data";
33 const std::string& content_disposition, in FormField() argument
37 content_disposition_{content_disposition},
80 content_disposition::kFormData, in TextFormField()
94 const std::string& content_disposition, in FileFormField() argument
97 : FormField{name, content_disposition, content_type, transfer_encoding}, in FileFormField()
119 content_disposition::kFormData, in MultiPartFormField()
159 const std::string& content_disposition, in AddFileField() argument
171 content_disposition, in AddFileField()
[all …]
Dhttp_form_data_unittest.cc57 content_disposition::kFormData, in TEST()
87 content_disposition::kFormData, in TEST()
92 content_disposition::kFormData, in TEST()
163 "", filename1, content_disposition::kFile, mime::text::kPlain, nullptr)); in TEST()
166 content_disposition::kFile, in TEST()
Dhttp_form_data.h21 namespace content_disposition {
50 const std::string& content_disposition,
130 const std::string& content_disposition,
178 const std::string& content_disposition,
/external/webrtc/webrtc/base/
Dmultipart.cc45 const std::string& content_disposition, in AddPart() argument
47 if (!AddPart("", content_disposition, content_type)) in AddPart()
55 const std::string& content_disposition, in AddPart() argument
65 if (!content_disposition.empty()) { in AddPart()
67 << content_disposition << "\r\n"; in AddPart()
97 const std::string& content_disposition, in GetPartSize() argument
104 if (!content_disposition.empty()) { in GetPartSize()
107 content_disposition.size() + 2; in GetPartSize()
Dmultipart.h37 const std::string& content_disposition,
40 const std::string& content_disposition,
46 const std::string& content_disposition,
/external/curl/src/
Dtool_cfgable.h229 bool content_disposition; /* use Content-disposition filename */ member
Dtool_operate.c573 if(!*outfile && !config->content_disposition) { in operate_do()
605 && config->content_disposition) { in operate_do()
1433 if(config->content_disposition in operate_do()
Dtool_getparam.c1790 config->content_disposition = toggle; in getparameter()
/external/python/cpython3/Lib/email/
Dheaderregistry.py494 cd = self._parse_tree.content_disposition
498 def content_disposition(self): member in ContentDispositionHeader
Dmessage.py975 return False if c_d is None else c_d.content_disposition == 'attachment'
D_header_value_parser.py823 content_disposition = None variable in ContentDisposition
2522 disp_header.content_disposition = token.value.strip().lower()
/external/python/cpython3/Lib/test/test_email/
Dtest_headerregistry.py819 content_disposition, argument
828 self.assertEqual(h.content_disposition, content_disposition)