From: Daniel Stenberg Date: Fri, 21 Jan 2005 08:56:04 +0000 (+0000) Subject: clarify the struct name for CURLOPT_HTTPPOST X-Git-Tag: curl-7_13_0~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c038680f9a0de30f2a0b60c1e02bfb74006c851;p=thirdparty%2Fcurl.git clarify the struct name for CURLOPT_HTTPPOST --- diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 35a2a87d09..7beecfd1e3 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -543,11 +543,10 @@ data to figure out the size. This is the large file version of the .IP CURLOPT_HTTPPOST 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 -of HTTP post structs as parameter. The linked list should be a fully valid -list of 'struct HttpPost' structs properly filled in. The best and most -elegant way to do this, is to use \fIcurl_formadd(3)\fP as documented. The -data in this list must remain intact until you close this curl handle again -with \fIcurl_easy_cleanup(3)\fP. +of curl_httppost structs as parameter. . The easiest way to create such a +list, is to use \fIcurl_formadd(3)\fP as documented. The data in this list +must remain intact until you close this curl handle again with +\fIcurl_easy_cleanup(3)\fP. 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.