Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 60) sorted by relevance

123

/curl/docs/examples/
H A Dpostit2.c52 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 Dmulti-post.c43 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 Dlib653.c35 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 Dlib1553.c52 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 Dcurl_pushheader_bynum.md32 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 Dcurl_pushheader_byname.md32 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 Dcurl_mprintf.md81 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 Dcurl_mime_init.md53 /* 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 Dtest105451 field=data
69 field=dataPOST /blah/moo/testcase/%TESTNUMBER0002 HTTP/1.1
76 field=data
H A Dtest16333 http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=<%LOGDIR/field%TESTNUMBER" -F tool=curl
36 <file name="%LOGDIR/field%TESTNUMBER">
H A Dtest67069 Content-Disposition: form-data; name="field"
H A Dtest67169 Content-Disposition: form-data; name="field"
H A Dtest67269 Content-Disposition: form-data; name="field"
H A Dtest67369 Content-Disposition: form-data; name="field"
/curl/docs/libcurl/opts/
H A DCURLOPT_HTTPPOST.md60 /* 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 DCURLOPT_MIME_OPTIONS.md37 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 DCURLOPT_PROXY_SSL_VERIFYHOST.md43 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 DCURLOPT_DOH_SSL_VERIFYHOST.md44 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 DCURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md31 download. This is the value read from the Content-Length: field. Stores -1 if
H A DCURLOPT_USERAGENT.md31 User-Agent: header field in the HTTP request sent to the remote server. You
H A DCURLINFO_CONTENT_LENGTH_DOWNLOAD.md31 is the value read from the Content-Length: field. Since 7.19.4, this returns
H A DCURLOPT_REFERER.md31 Referer: header field in the HTTP request sent to the remote server. You can
/curl/docs/cmdline-opts/
H A Dform.md34 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 Dremote-header-name.md34 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 Dform-escape.md13 - --form-escape -F 'field\name=curl' -F 'file=@load"this' $URL

Completed in 69 milliseconds

123