/curl/docs/examples/ |
H A D | postit2.c | 52 curl_mimepart *field = NULL; in main() local 64 field = curl_mime_addpart(form); in main() 65 curl_mime_name(field, "sendfile"); in main() 66 curl_mime_filedata(field, "postit2.c"); in main() 69 field = curl_mime_addpart(form); in main() 70 curl_mime_name(field, "filename"); in main() 71 curl_mime_data(field, "postit2.c", CURL_ZERO_TERMINATED); in main() 74 field = curl_mime_addpart(form); in main() 75 curl_mime_name(field, "submit"); in main() 76 curl_mime_data(field, "send", CURL_ZERO_TERMINATED); in main()
|
H A D | multi-post.c | 42 curl_mimepart *field = NULL; in main() local 54 field = curl_mime_addpart(form); in main() 55 curl_mime_name(field, "sendfile"); in main() 56 curl_mime_filedata(field, "multi-post.c"); in main() 59 field = curl_mime_addpart(form); in main() 60 curl_mime_name(field, "filename"); in main() 61 curl_mime_data(field, "multi-post.c", CURL_ZERO_TERMINATED); in main() 64 field = curl_mime_addpart(form); in main() 65 curl_mime_name(field, "submit"); in main() 66 curl_mime_data(field, "send", CURL_ZERO_TERMINATED); in main()
|
/curl/tests/libtest/ |
H A D | lib653.c | 35 curl_mimepart *field = NULL; in test() local 42 field = curl_mime_addpart(mime); in test() 43 curl_mime_name(field, "name"); in test() 44 curl_mime_data(field, "short value", CURL_ZERO_TERMINATED); in test() 57 curl_mime_data(field, "long value for length change", CURL_ZERO_TERMINATED); in test()
|
H A D | lib1553.c | 53 curl_mimepart *field = NULL; in test() local 66 field = curl_mime_addpart(mime); in test() 67 curl_mime_name(field, "name"); in test() 68 curl_mime_data(field, "value", CURL_ZERO_TERMINATED); in test()
|
/curl/docs/libcurl/ |
H A D | curl_pushheader_bynum.md | 33 It returns the value for the header field at the given index **num**, for 51 char *field; 53 field = curl_pushheader_bynum(headers, i); 54 if(field) 55 fprintf(stderr, "Push header: %s\n", field); 57 } while(field); 72 Returns a pointer to the header field content or NULL.
|
H A D | curl_pushheader_byname.md | 33 It returns the value for the given header field name (or NULL) for the 37 one header field use the same name, this returns only the first one. 85 Returns a pointer to the header field content or NULL.
|
H A D | curl_mprintf.md | 82 or more *flags*, an optional minimum *field width*, an optional 126 The converted value is to be left adjusted on the field boundary. (The default 145 minimum field width. If the converted value has fewer characters than the 146 field width, it gets padded with spaces on the left (or right, if the 148 may write "*" or "*m$" (for some decimal integer m) to specify that the field 150 respectively, which must be of type int. A negative field width is taken as 151 a '-' flag followed by a positive field width. In no case does a nonexistent 152 or small field width cause truncation of a field; if the result of a 153 conversion is wider than the field width, the field is expanded to contain the
|
H A D | curl_mime_init.md | 56 /* Build an HTTP form with a single field named "data", */ 59 curl_mime_data(part, "This is the field data", CURL_ZERO_TERMINATED);
|
/curl/tests/data/ |
H A D | test1054 | 51 field=data 69 field=dataPOST /blah/moo/testcase/%TESTNUMBER0002 HTTP/1.1 76 field=data
|
H A D | test163 | 33 http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=<%LOGDIR/field%TESTNUMBER" -F tool=curl 36 <file name="%LOGDIR/field%TESTNUMBER">
|
H A D | test671 | 69 Content-Disposition: form-data; name="field"
|
H A D | test670 | 69 Content-Disposition: form-data; name="field"
|
H A D | test672 | 69 Content-Disposition: form-data; name="field"
|
H A D | test673 | 69 Content-Disposition: form-data; name="field"
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_HTTPPOST.md | 63 /* Fill in the file upload field. This makes libcurl load data from 71 /* Fill in the filename field */ 78 /* Fill in the submit field too, even if this is rarely needed */
|
H A D | CURLOPT_MIME_OPTIONS.md | 38 Tells libcurl to escape multipart form field and filenames using the 51 As an example, consider field or filename *strangename"kind*. When the 80 curl_mime_name(part, "strange\"field\"name");
|
H A D | CURLOPT_DOH_SSL_VERIFYHOST.md | 45 Curl considers the DoH server the intended one when the Common Name field or a 46 Subject Alternate Name field in the certificate matches the hostname in the
|
H A D | CURLOPT_PROXY_SSL_VERIFYHOST.md | 44 Curl considers the proxy the intended one when the Common Name field or a 45 Subject Alternate Name field in the certificate matches the hostname in the
|
H A D | CURLOPT_SSL_VERIFYHOST.md | 43 curl considers the server the intended one when the Common Name field or a 44 Subject Alternate Name field in the certificate matches the hostname in the 74 identify the field as an IP address.
|
H A D | CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md | 32 download. This is the value read from the Content-Length: field. Stores -1 if
|
H A D | CURLINFO_CONTENT_LENGTH_DOWNLOAD.md | 32 is the value read from the Content-Length: field. Since 7.19.4, this returns
|
/curl/docs/cmdline-opts/ |
H A D | form.md | 34 while the \< makes a text field and just get the contents for that text field 46 form-field to which the file **portrait.jpg** is the input: 54 Example: send your essay in a text field to the server. Send it as a plain 55 text field, but get the contents for it from a local file: 68 You can also explicitly change the name field of a file upload part by setting 92 You can add custom headers to the field by setting headers=, like
|
H A D | remote-header-name.md | 34 This feature uses the name from the `filename` field, it does not yet support 35 the `filename*` field (filenames with explicit character sets).
|
H A D | form-escape.md | 13 - --form-escape -F 'field\name=curl' -F 'file=@load"this' $URL
|
H A D | vlan-priority.md | 21 This field is set on Ethernet level, and only works within a local network.
|