/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 | 43 curl_mimepart *field = NULL; in main() local 55 field = curl_mime_addpart(form); in main() 56 curl_mime_name(field, "sendfile"); in main() 57 curl_mime_filedata(field, "multi-post.c"); in main() 60 field = curl_mime_addpart(form); in main() 61 curl_mime_name(field, "filename"); in main() 62 curl_mime_data(field, "multi-post.c", CURL_ZERO_TERMINATED); in main() 65 field = curl_mime_addpart(form); in main() 66 curl_mime_name(field, "submit"); in main() 67 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 | 52 curl_mimepart *field = NULL; in test() local 65 field = curl_mime_addpart(mime); in test() 66 curl_mime_name(field, "name"); in test() 67 curl_mime_data(field, "value", CURL_ZERO_TERMINATED); in test()
|
/curl/docs/libcurl/ |
H A D | curl_pushheader_bynum.md | 32 It returns the value for the header field at the given index **num**, for 48 char *field; 50 field = curl_pushheader_bynum(headers, i); 51 if(field) 52 fprintf(stderr, "Push header: %s\n", field); 54 } while(field); 71 Returns a pointer to the header field content or NULL.
|
H A D | curl_pushheader_byname.md | 32 It returns the value for the given header field name (or NULL) for the 36 one header field use the same name, this returns only the first one. 84 Returns a pointer to the header field content or NULL.
|
H A D | curl_mprintf.md | 81 or more *flags*, an optional minimum *field width*, an optional 125 The converted value is to be left adjusted on the field boundary. (The default 144 minimum field width. If the converted value has fewer characters than the 145 field width, it gets padded with spaces on the left (or right, if the 147 may write "*" or "*m$" (for some decimal integer m) to specify that the field 149 respectively, which must be of type int. A negative field width is taken as 150 a '-' flag followed by a positive field width. In no case does a nonexistent 151 or small field width cause truncation of a field; if the result of a 152 conversion is wider than the field width, the field is expanded to contain the
|
H A D | curl_mime_init.md | 53 /* Build an HTTP form with a single field named "data", */ 56 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 | test670 | 69 Content-Disposition: form-data; name="field"
|
H A D | test671 | 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 | 60 /* Fill in the file upload field. This makes libcurl load data from 68 /* Fill in the filename field */ 75 /* Fill in the submit field too, even if this is rarely needed */
|
H A D | CURLOPT_MIME_OPTIONS.md | 37 Tells libcurl to escape multipart form field and filenames using the 50 As an example, consider field or filename *strangename"kind*. When the 77 curl_mime_name(part, "strange\"field\"name");
|
H A D | CURLOPT_PROXY_SSL_VERIFYHOST.md | 43 Curl considers the proxy the intended one when the Common Name field or a 44 Subject Alternate Name field in the certificate matches the hostname in the
|
H A D | CURLOPT_DOH_SSL_VERIFYHOST.md | 44 Curl considers the DoH server 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 | CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md | 31 download. This is the value read from the Content-Length: field. Stores -1 if
|
H A D | CURLOPT_USERAGENT.md | 31 User-Agent: header field in the HTTP request sent to the remote server. You
|
H A D | CURLINFO_CONTENT_LENGTH_DOWNLOAD.md | 31 is the value read from the Content-Length: field. Since 7.19.4, this returns
|
H A D | CURLOPT_REFERER.md | 31 Referer: header field in the HTTP request sent to the remote server. You can
|
/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 89 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
|