Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 59) 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.c42 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 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.c53 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 Dcurl_pushheader_bynum.md33 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 Dcurl_pushheader_byname.md33 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 Dcurl_mprintf.md82 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 Dcurl_mime_init.md56 /* 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 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 Dtest67169 Content-Disposition: form-data; name="field"
H A Dtest67069 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.md63 /* 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 DCURLOPT_MIME_OPTIONS.md38 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 DCURLOPT_DOH_SSL_VERIFYHOST.md45 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 DCURLOPT_PROXY_SSL_VERIFYHOST.md44 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 DCURLOPT_SSL_VERIFYHOST.md43 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 DCURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md32 download. This is the value read from the Content-Length: field. Stores -1 if
H A DCURLINFO_CONTENT_LENGTH_DOWNLOAD.md32 is the value read from the Content-Length: field. Since 7.19.4, this returns
/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
92 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
H A Dvlan-priority.md21 This field is set on Ethernet level, and only works within a local network.

Completed in 24 milliseconds

123