| /external/rust/crates/axum/src/extract/ |
| D | multipart.rs | 1 //! Extractor that parses `multipart/form-data` requests commonly used with file uploads. 3 //! See [`Multipart`] for more details. 23 /// Extractor that parses `multipart/form-data` requests (commonly used with file uploads). 25 /// ⚠️ Since extracting multipart form data from the request requires consuming the body, the 26 /// `Multipart` extractor must be *last* if there are multiple extractors in a handler. 35 /// extract::Multipart, 41 /// async fn upload(mut multipart: Multipart) { 42 /// while let Some(mut field) = multipart.next_field().await.unwrap() { 55 #[cfg_attr(docsrs, doc(cfg(feature = "multipart")))] 57 pub struct Multipart { struct [all …]
|
| /external/python/cpython3/Lib/test/test_email/ |
| D | torture_test.py | 61 multipart/mixed 64 multipart/alternative 66 multipart/mixed 74 multipart/mixed 75 multipart/mixed 78 multipart/mixed 85 multipart/mixed 90 multipart/mixed 97 multipart/mixed 101 multipart/mixed [all …]
|
| D | test_defect_handling.py | 24 Content-type: multipart/mixed; 28 Content-type: multipart/alternative; 71 Content-Type: multipart/report; report-type=delivery-status; 98 Subject: Content-Transfer-Encoding: base64 and multipart 100 Content-Type: multipart/mixed; 147 Content-Type: multipart/alternative; 163 Content-Type: multipart/mixed; boundary="AAA" 176 Content-Type: multipart/mixed; boundary="BBB" 185 # multipart/mixed 188 # multipart/mixed [*] [all …]
|
| D | test_message.py | 90 Content-Type: multipart/alternative; boundary="===" 113 Content-Type: multipart/mixed; boundary="===" 137 Content-Type: multipart/mixed; boundary="===" 160 Content-Type: multipart/mixed; boundary="===" 183 Content-Type: multipart/mixed; boundary="===" 208 Content-Type: multipart/related; boundary="==="; type=text/html 234 Content-Type: multipart/related; boundary="==="; type=text/html; 261 Content-Type: multipart/mixed; boundary="===" 264 Content-Type: multipart/alternative; boundary="+++" 272 Content-Type: multipart/related; boundary="___" [all …]
|
| /external/python/cpython2/Lib/email/test/ |
| D | test_email_torture.py | 62 multipart/mixed 65 multipart/alternative 67 multipart/mixed 75 multipart/mixed 76 multipart/mixed 79 multipart/mixed 86 multipart/mixed 91 multipart/mixed 98 multipart/mixed 102 multipart/mixed [all …]
|
| /external/python/cpython3/Doc/library/ |
| D | email.message.rst | 29 :mimetype:`multipart/\*` or :mimetype:`message/rfc822`. 49 documents such as :mimetype:`multipart/\*` and :mimetype:`message/rfc822` 138 "msg.get_content_maintype() == 'multipart'" will return the ``True``. 320 inside a :mimetype:`multipart/digest` container, in which case it would 342 :mimetype:`multipart/digest` containers. Such subparts have a default 441 message is a :mimetype:`multipart`, then the list will contain one element 482 Here's an example that prints the MIME type of every part of a multipart 495 multipart/report 505 ``msg.get_content_maintype() == 'multipart'`` may return ``False``. We 513 ... print(part.get_content_maintype() == 'multipart', [all …]
|
| /external/python/cpython2/Lib/email/mime/ |
| D | multipart.py | 5 """Base class for MIME multipart/* type messages.""" 14 """Base class for MIME multipart/* type messages.""" 18 """Creates a multipart/* type message. 20 By default, creates a multipart/mixed message, with proper 23 _subtype is the subtype of the multipart content type, defaulting to 26 boundary is the multipart boundary string. By default it is 36 MIMEBase.__init__(self, 'multipart', _subtype, **_params) 40 # multipart messages.
|
| D | nonmultipart.py | 5 """Base class for MIME type messages that are not multipart.""" 15 """Base class for MIME non-multipart type messages.""" 20 # type multipart/* 22 'Cannot attach additional subparts to non-multipart/*')
|
| /external/python/cpython3/Lib/email/mime/ |
| D | multipart.py | 5 """Base class for MIME multipart/* type messages.""" 14 """Base class for MIME multipart/* type messages.""" 19 """Creates a multipart/* type message. 21 By default, creates a multipart/mixed message, with proper 24 _subtype is the subtype of the multipart content type, defaulting to 27 boundary is the multipart boundary string. By default it is 37 MIMEBase.__init__(self, 'multipart', _subtype, policy=policy, **_params) 41 # multipart messages.
|
| D | nonmultipart.py | 5 """Base class for MIME type messages that are not multipart.""" 15 """Base class for MIME non-multipart type messages.""" 20 # type multipart/* 22 'Cannot attach additional subparts to non-multipart/*')
|
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
| D | MultipartBuilder.java | 33 * The "mixed" subtype of "multipart" is intended for use when the body 35 * "multipart" subtypes that an implementation does not recognize must be 38 public static final MediaType MIXED = MediaType.parse("multipart/mixed"); 41 * The "multipart/alternative" type is syntactically identical to 42 * "multipart/mixed", but the semantics are different. In particular, each 45 public static final MediaType ALTERNATIVE = MediaType.parse("multipart/alternative"); 48 * This type is syntactically identical to "multipart/mixed", but the 53 public static final MediaType DIGEST = MediaType.parse("multipart/digest"); 56 * This type is syntactically identical to "multipart/mixed", but the 60 public static final MediaType PARALLEL = MediaType.parse("multipart/parallel"); [all …]
|
| /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
| D | MultipartBuilder.java | 35 * The "mixed" subtype of "multipart" is intended for use when the body 37 * "multipart" subtypes that an implementation does not recognize must be 40 public static final MediaType MIXED = MediaType.parse("multipart/mixed"); 43 * The "multipart/alternative" type is syntactically identical to 44 * "multipart/mixed", but the semantics are different. In particular, each 47 public static final MediaType ALTERNATIVE = MediaType.parse("multipart/alternative"); 50 * This type is syntactically identical to "multipart/mixed", but the 55 public static final MediaType DIGEST = MediaType.parse("multipart/digest"); 58 * This type is syntactically identical to "multipart/mixed", but the 62 public static final MediaType PARALLEL = MediaType.parse("multipart/parallel"); [all …]
|
| /external/apache-http/android/src/com/android/internal/http/multipart/ |
| D | MultipartEntity.java | 2 …arta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/multipart/MultipartRequest… 31 package com.android.internal.http.multipart; 50 * Implements a request entity suitable for an HTTP multipart POST method. 52 * The HTTP multipart POST method is defined in section 3.3 of 55 * The media-type multipart/form-data follows the rules of all multipart 56 * MIME data streams as outlined in RFC 1521. The multipart/form-data contains 67 * multipart posts. Example usage:</p> 88 /** The Content-Type for multipart/form-data. */ 89 private static final String MULTIPART_FORM_CONTENT_TYPE = "multipart/form-data"; 92 * Sets the value to use as the multipart boundary. [all …]
|
| /external/aws-sdk-java-v2/services/s3/src/main/java/software/amazon/awssdk/services/s3/multipart/ |
| D | MultipartConfiguration.java | 16 package software.amazon.awssdk.services.s3.multipart; 30 …* Class that hold configuration properties related to multipart operation for a {@link S3AsyncClie… 33 * respective multipart operation. 35 …* <em>Note</em>: The multipart operation for {@link S3AsyncClient#getObject(GetObjectRequest, Asyn… 37 * multipart operation. 66 * not use multipart operation 75 * conforms to the maximum number of parts allowed per multipart requests. 96 …* Configure the size threshold, in bytes, for when to use multipart upload. Uploads/copies over th… 97 …* automatically use a multipart upload strategy, while uploads/copies smaller than this threshold … 101 …* Multipart uploads are easier to recover from and also potentially faster than single part upload… [all …]
|
| /external/python/cpython2/Lib/ |
| D | mimify.py | 40 mp = re.compile('^content-type:.*multipart/.*boundary="?([^;"\n]*)', re.I|re.S) 124 multipart = None 157 multipart = '--' + mp_res.group(1) 160 if is_repl and (quoted_printable or multipart): 175 ## multipart = line[:-1] 176 while multipart: 177 if line == multipart + '--\n': 179 multipart = None 182 if line == multipart + '\n': 184 nifile = File(ifile, multipart) [all …]
|
| /external/curl/docs/libcurl/opts/ |
| D | CURLOPT_MIMEPOST.md | 53 curl_mime *multipart = curl_mime_init(curl); 54 if(multipart) { 55 curl_mimepart *part = curl_mime_addpart(multipart); 58 part = curl_mime_addpart(multipart); 61 part = curl_mime_addpart(multipart); 66 curl_easy_setopt(curl, CURLOPT_MIMEPOST, multipart); 69 curl_mime_free(multipart); /* free the post data */
|
| /external/libbrillo/brillo/http/ |
| D | http_form_data.h | 28 // multipart/form-data and multipart/mixed content. 29 // For more details on multipart content, see the following RFC: 80 // nested file uploads inside "multipart/mixed" sections, this can be "file". 147 // Multipart form field. 150 // file field, when the uploaded files should be sent as "multipart/mixed". 155 // content_type: valid content type. If omitted, "multipart/mixed" is used. 156 // boundary: multipart boundary separator. 169 // field, a file upload field or a multipart form field. 182 // Returns a boundary string used to separate multipart form fields. 197 // A class representing a multipart form data for sending as HTTP POST request. [all …]
|
| /external/mbedtls/tests/suites/ |
| D | test_suite_psa_crypto.data | 1804 PSA MAC sign multipart: RFC4231 Test case 1 - HMAC-SHA-224 1808 PSA MAC verify multipart: RFC4231 Test case 1 - HMAC-SHA-224 1820 PSA MAC sign multipart: RFC4231 Test case 1 - HMAC-SHA-256 1824 PSA MAC verify multipart: RFC4231 Test case 1 - HMAC-SHA-256 1836 PSA MAC sign multipart: RFC4231 Test case 1 - HMAC-SHA-384 1840 PSA MAC verify multipart: RFC4231 Test case 1 - HMAC-SHA-384 1852 PSA MAC sign multipart: RFC4231 Test case 1 - HMAC-SHA-512 1856 PSA MAC verify multipart: RFC4231 Test case 1 - HMAC-SHA-512 1876 PSA MAC verify multipart: RFC4231 Test case 2 - HMAC-SHA-224 1880 PSA MAC verify multipart: RFC4231 Test case 2 - HMAC-SHA-256 [all …]
|
| D | test_suite_psa_crypto_driver_wrappers.data | 334 PSA symmetric encrypt multipart: AES-CTR, 16 bytes, good 338 PSA symmetric encrypt multipart: AES-CTR, 15 bytes, good 342 PSA symmetric encrypt multipart: AES-CTR, 16 bytes, fallback 346 PSA symmetric encrypt multipart: AES-CTR, 15 bytes, fallback 350 PSA symmetric encrypt multipart: AES-CTR, 16 bytes, fake 354 PSA symmetric encrypt multipart: AES-CTR, 15 bytes, fake 370 PSA symmetric decrypt multipart: AES-CTR, 16 bytes, good 374 PSA symmetric decrypt multipart: AES-CTR, 16 bytes, fallback 378 PSA symmetric decrypt multipart: AES-CTR, 16 bytes, fake 382 PSA symmetric encryption multipart: AES-CTR, 11+5 bytes [all …]
|
| /external/python/apitools/apitools/base/py/ |
| D | batch_test.py | 110 'content-type': 'multipart/mixed; boundary="None"', 119 'content-type': 'multipart/mixed; boundary="None"', 124 'content-type': 'multipart/mixed; boundary="boundary"', 169 'content-type': 'multipart/mixed; boundary="None"', 178 'content-type': 'multipart/mixed; boundary="None"', 183 'content-type': 'multipart/mixed; boundary="boundary"', 215 'content-type': 'multipart/mixed; boundary="boundary"', 232 'content-type': 'multipart/mixed; boundary="None"', 260 'content-type': 'multipart/mixed; boundary="None"', 280 'content-type': 'multipart/mixed; boundary="None"', [all …]
|
| /external/curl/docs/cmdline-opts/ |
| D | form.md | 7 Help: Specify multipart MIME data 25 multipart/form-data according to RFC 2388. 27 For SMTP and IMAP protocols, this composes a multipart mail message to 111 To support sending multipart mail messages, the syntax is extended as follows: 115 - if data starts with '(', this signals to start a new multipart: it can be 118 - a multipart can be terminated with a '=)' argument. 124 curl -F '=(;type=multipart/alternative' \ 136 Example: send multipart mail with a quoted-printable text message and a
|
| /external/openthread/third_party/mbedtls/repo/tests/suites/ |
| D | test_suite_psa_crypto_driver_wrappers.data | 306 PSA symmetric encrypt multipart: AES-CTR, 16 bytes, good 310 PSA symmetric encrypt multipart: AES-CTR, 15 bytes, good 314 PSA symmetric encrypt multipart: AES-CTR, 16 bytes, fallback 318 PSA symmetric encrypt multipart: AES-CTR, 15 bytes, fallback 322 PSA symmetric encrypt multipart: AES-CTR, 16 bytes, fake 326 PSA symmetric encrypt multipart: AES-CTR, 15 bytes, fake 342 PSA symmetric decrypt multipart: AES-CTR, 16 bytes, good 346 PSA symmetric decrypt multipart: AES-CTR, 16 bytes, fallback 350 PSA symmetric decrypt multipart: AES-CTR, 16 bytes, fake 354 PSA symmetric encryption multipart: AES-CTR, 11+5 bytes [all …]
|
| /external/python/cpython3/Lib/test/test_email/data/ |
| D | msg_38.txt | 2 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0" 5 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1" 9 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa2" 29 and this one, which is from a multipart we haven't even seen yet! 49 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa3" 71 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa4"
|
| /external/python/cpython2/Lib/email/test/data/ |
| D | msg_38.txt | 2 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0" 5 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1" 9 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa2" 29 and this one, which is from a multipart we haven't even seen yet! 49 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa3" 71 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa4"
|
| /external/curl/docs/libcurl/ |
| D | curl_mime_subparts.md | 18 curl_mime_subparts - set sub-parts of a multipart mime part 30 curl_mime_subparts(3) sets a multipart mime part's content from a mime 33 *part* is a handle to the multipart part. 37 multipart part and must not be freed explicitly. It may however be updated by 74 curl_mime_type(part, "multipart/alternative");
|