clarify the struct name for CURLOPT_HTTPPOST
This commit is contained in:
parent
291a908f19
commit
6c038680f9
@ -543,11 +543,10 @@ data to figure out the size. This is the large file version of the
|
|||||||
.IP CURLOPT_HTTPPOST
|
.IP CURLOPT_HTTPPOST
|
||||||
Tells libcurl you want a multipart/formdata HTTP POST to be made and you
|
Tells libcurl you want a multipart/formdata HTTP POST to be made and you
|
||||||
instruct what data to pass on to the server. Pass a pointer to a linked list
|
instruct what data to pass on to the server. Pass a pointer to a linked list
|
||||||
of HTTP post structs as parameter. The linked list should be a fully valid
|
of curl_httppost structs as parameter. . The easiest way to create such a
|
||||||
list of 'struct HttpPost' structs properly filled in. The best and most
|
list, is to use \fIcurl_formadd(3)\fP as documented. The data in this list
|
||||||
elegant way to do this, is to use \fIcurl_formadd(3)\fP as documented. The
|
must remain intact until you close this curl handle again with
|
||||||
data in this list must remain intact until you close this curl handle again
|
\fIcurl_easy_cleanup(3)\fP.
|
||||||
with \fIcurl_easy_cleanup(3)\fP.
|
|
||||||
|
|
||||||
Using POST with HTTP 1.1 implies the use of a "Expect: 100-continue" header.
|
Using POST with HTTP 1.1 implies the use of a "Expect: 100-continue" header.
|
||||||
You can disable this header with \fICURLOPT_HTTPHEADER\fP as usual.
|
You can disable this header with \fICURLOPT_HTTPHEADER\fP as usual.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user