diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-12-28 11:49:00 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-12-28 11:49:00 +0100 |
commit | 0128925de5e49bcf3976bde7da31765d2c06a99d (patch) | |
tree | 7f108ca8a4bc2cfbe1869091757a15ceb36b52d8 /docs/libcurl/curl_formadd.3 | |
parent | 1b711ca107730179d6b588863292347a93038e3b (diff) |
curl_formadd.3: CURLFORM_CONTENTSLENGTH not needed when chunked
Mentioned in #1013
Diffstat (limited to 'docs/libcurl/curl_formadd.3')
-rw-r--r-- | docs/libcurl/curl_formadd.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/curl_formadd.3 b/docs/libcurl/curl_formadd.3 index bf1b11e1a..5d1faa532 100644 --- a/docs/libcurl/curl_formadd.3 +++ b/docs/libcurl/curl_formadd.3 @@ -148,8 +148,8 @@ data. The parameter you pass to \fICURLFORM_STREAM\fP is the pointer passed on to the read callback's fourth argument. If you want the part to look like a file upload one, set the \fICURLFORM_FILENAME\fP parameter as well. Note that when using \fICURLFORM_STREAM\fP, \fICURLFORM_CONTENTSLENGTH\fP must also be -set with the total expected length of the part. (Option added in libcurl -7.18.2) +set with the total expected length of the part unless the formpost is sent +chunked encoded. (Option added in libcurl 7.18.2) .IP CURLFORM_ARRAY Another possibility to send options to curl_formadd() is the \fBCURLFORM_ARRAY\fP option, that passes a struct curl_forms array pointer as |