Home
last modified time | relevance | path

Searched refs:part (Results 26 – 50 of 238) sorted by relevance

12345678910

/curl/docs/libcurl/
H A Dcurl_mime_init.md36 handle's part using curl_mime_subparts(3).
38 *easy_handle* is used for part separator randomization and error
42 send a multi-part email with SMTP or upload such an email to an IMAP server.
51 curl_mimepart *part;
55 part = curl_mime_addpart(mime);
56 curl_mime_data(part, "This is the field data", CURL_ZERO_TERMINATED);
57 curl_mime_name(part, "data");
H A Dcurl_url_set.md20 curl_url_set - set a URL part
28 CURLUPart part,
41 The *part* argument should identify the particular URL part (see list below)
43 new contents for that URL part. The contents should be in the form and
46 When setting a part in the URL object that was previously already set, it
47 replaces the data that was previously stored for that part with the new
53 Setting a part to a NULL pointer removes that part's contents from the *CURLU*
163 new appended part.
174 When set, curl_url_set(3) URL encodes the part on entry, except for
203 host part (normally the only mandatory part of the authority), but libcurl
[all …]
H A Dcurl_url_get.md20 curl_url_get - extract a part from a URL
28 CURLUPart part,
38 The *part* argument specifies which part to extract (see list below) and
81 If set, curl_url_get(3) URL encodes the hostname part when a full URL is
178 The *part* is always at least a slash ('/') even if no path was supplied
184 delimiter only. It is not part of the query contents.
186 A not-present query returns *part* set to NULL.
188 A zero-length query returns *part* as NULL unless CURLU_GET_EMPTY is set.
196 delimiter only. It is not part of the fragment contents.
198 A not-present fragment returns *part* set to NULL.
[all …]
H A Dcurl_formadd.md50 posts. Each part consists of at least a NAME and a CONTENTS part. If the part
63 followed by a string which provides the *name* of this part. libcurl
71 followed by a string which provides the *name* of this part. libcurl uses the
79 followed by a pointer to the contents of this part, the actual data to send
88 followed by a pointer to the contents of this part, the actual data to send
119 as data in this part. This part does *not* automatically become a file
120 upload part simply because its data was read from a file.
126 followed by a filename, makes this part a file upload part. It sets the
130 **CURLFORM_FILE** the user may send one or more files in one part by
150 upload part instead of the actual filename.
[all …]
H A Dcurl_mime_data_cb.md20 curl_mime_data_cb - set a callback-based data source for a mime part's body
33 CURLcode curl_mime_data_cb(curl_mimepart *part, curl_off_t datasize,
41 curl_mime_data_cb(3) sets the data source of a mime part's body content
44 *part* is the part's to assign contents to.
94 Care must be taken if the part is bound to a curl easy handle that is later
154 curl_mimepart *part = curl_mime_addpart(mime);
160 curl_mime_data_cb(part, hugectl.size, read_callback, seek_callback, NULL,
H A Dlibcurl-tutorial.md507 POST operations are required, they do not do multi-part formposts. Multi-part
510 called multi-part because they are built by a chain of parts, each part being
526 curl_mime_headers(3) allows defining the part's headers. When a multi-part
535 curl_mime_name(part, "name");
658 curl_mime_name(part, "id");
718 curl_mime_name(part, "stream");
1254 bound to its parent multi-part, a nth-level multi-part belongs to it and
1264 corresponding part header.
1286 part = curl_mime_addpart(alt);
1290 /* Create the inline part. */
[all …]
H A Dlibcurl-errors.md610 An invalid 'part' argument was passed as argument.
638 An unknown part ID was passed to a URL API function.
642 There is no scheme part in the URL.
646 There is no user part in the URL.
650 There is no password part in the URL.
654 There is no options part in the URL.
658 There is no host part in the URL.
662 There is no port part in the URL.
666 There is no query part in the URL.
670 There is no fragment part in the URL.
[all …]
/curl/tests/libtest/
H A Dlib589.c53 curl_mimepart *part = curl_mime_addpart(mime); in test() local
54 curl_mime_name(part, "fake"); in test()
55 curl_mime_data(part, "party", 5); in test()
H A Dlib1560.c42 struct part { struct
43 CURLUPart part; argument
56 struct part parts[] = { in checkparts() argument
147 CURLUPart part; member
1058 if(!strcmp("url", part)) in part2id()
1062 if(!strcmp("user", part)) in part2id()
1068 if(!strcmp("host", part)) in part2id()
1070 if(!strcmp("port", part)) in part2id()
1094 char part[80]; in updateurl() local
1097 memset(part, 0, sizeof(part)); /* Avoid valgrind false positive. */ in updateurl()
[all …]
H A Dlib670.c104 curl_mimepart *part; in test() local
146 part = curl_mime_addpart(mime); in test()
147 res = curl_mime_name(part, name); in test()
155 res = curl_mime_data_cb(part, (curl_off_t) 2, read_callback, in test()
/curl/lib/
H A Dformdata.c781 return curl_mime_name(part, name); in setname()
785 res = curl_mime_name(part, zname); in setname()
821 curl_mimepart *part; in Curl_getformdata() local
841 part = curl_mime_addpart(form); in Curl_getformdata()
842 if(!part) in Curl_getformdata()
852 result = curl_mime_subparts(part, multipart); in Curl_getformdata()
858 part = curl_mime_addpart(multipart); in Curl_getformdata()
859 if(!part) in Curl_getformdata()
895 result = curl_mime_filename(part, NULL); in Curl_getformdata()
898 result = curl_mime_data(part, post->buffer, in Curl_getformdata()
[all …]
H A Durlapi.c1431 if(!part) in curl_url_get()
1433 *part = NULL; in curl_url_get()
1618 *part = url; in curl_url_get()
1629 if(!*part) in curl_url_get()
1645 free(*part); in curl_url_get()
1647 *part = NULL; in curl_url_get()
1650 *part = decoded; in curl_url_get()
1660 free(*part); in curl_url_get()
1673 free(*part); in curl_url_get()
1688 free(*part); in curl_url_get()
[all …]
/curl/src/
H A Dtool_setopt.c438 const char *filename = part->filename; in libcurl_generate_mime_part()
441 if(part->prev) { in libcurl_generate_mime_part()
450 switch(part->kind) { in libcurl_generate_mime_part()
460 data = part->data; in libcurl_generate_mime_part()
472 escaped = c_escape(part->data, ZERO_TERMINATED); in libcurl_generate_mime_part()
495 if(!ret && part->encoder) { in libcurl_generate_mime_part()
509 if(!ret && part->name) { in libcurl_generate_mime_part()
511 escaped = c_escape(part->name, ZERO_TERMINATED); in libcurl_generate_mime_part()
516 if(!ret && part->type) { in libcurl_generate_mime_part()
518 escaped = c_escape(part->type, ZERO_TERMINATED); in libcurl_generate_mime_part()
[all …]
/curl/docs/cmdline-opts/
H A Ddata-urlencode.md26 To be CGI-compliant, the \<data\> part should begin with a *name* followed by
27 a separator and a content specification. The \<data\> part can be passed to
40 URL-encode the content part and pass that on. Note that the name part is
49 and pass it on in the POST. The name part gets an equal sign appended,
H A Durl-query.md6 Help: Add a URL query part
25 part. The syntax is identical to that used for --data-urlencode with one
31 The query part of a URL is the one following the question mark on the right
H A Dwrite-out.md238 The scheme part of the URL that was fetched. (Added in 8.1.0)
241 The user part of the URL that was fetched. (Added in 8.1.0)
244 The password part of the URL that was fetched. (Added in 8.1.0)
247 The options part of the URL that was fetched. (Added in 8.1.0)
250 The host part of the URL that was fetched. (Added in 8.1.0)
258 The path part of the URL that was fetched. (Added in 8.1.0)
261 The query part of the URL that was fetched. (Added in 8.1.0)
264 The fragment part of the URL that was fetched. (Added in 8.1.0)
267 The zone id part of the URL that was fetched. (Added in 8.1.0)
273 The user part of the effective (last) URL that was fetched. (Added in 8.1.0)
[all …]
H A Dtrace-ascii.md25 This is similar to --trace, but leaves out the hex part and only shows the
26 ASCII part of the dump. It makes smaller output that might be easier to read
/curl/packages/OS400/
H A Dccsidcurl.c1376 return mimefunc(part, string); in mime_string_call()
1381 result = mimefunc(part, s); in mime_string_call()
1393 curl_mime_filename_ccsid(curl_mimepart *part, in curl_mime_filename_ccsid() argument
1400 curl_mime_type_ccsid(curl_mimepart *part, in curl_mime_type_ccsid() argument
1407 curl_mime_encoder_ccsid(curl_mimepart *part, in curl_mime_encoder_ccsid() argument
1414 curl_mime_filedata_ccsid(curl_mimepart *part, in curl_mime_filedata_ccsid() argument
1421 curl_mime_data_ccsid(curl_mimepart *part, in curl_mime_data_ccsid() argument
1445 if(!part) in curl_url_get_ccsid()
1448 *part = (char *)NULL; in curl_url_get_ccsid()
1453 if(!*part) in curl_url_get_ccsid()
[all …]
/curl/docs/libcurl/opts/
H A DCURLOPT_MIME_OPTIONS.md73 curl_mimepart *part = curl_mime_addpart(form);
75 if(part) {
76 curl_mime_filedata(part, "strange\\file\\name");
77 curl_mime_name(part, "strange\"field\"name");
/curl/tests/data/
H A Dtest11102 # Test that the fragment is not send as part of the path
27 HTTP GET with URL that contains a fragment after the query part
H A Dtest1538162 u2: An invalid 'part' argument was passed as argument
170 u10: No scheme part in the URL
171 u11: No user part in the URL
172 u12: No password part in the URL
173 u13: No options part in the URL
174 u14: No host part in the URL
175 u15: No port part in the URL
176 u16: No query part in the URL
177 u17: No fragment part in the URL
178 u18: No zoneid part in the URL
[all …]
H A Dtest103614 expected to be a file without the first part
57 expected to be a file without the first part
H A Dtest22615 FTP %0d-code in URL's CWD part
H A Dtest22514 FTP %0a-code in URL's name part
/curl/include/curl/
H A Durlapi.h133 char **part, unsigned int flags);
141 const char *part, unsigned int flags);

Completed in 122 milliseconds

12345678910