diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-12-16 12:54:42 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-12-16 12:54:42 +0000 |
commit | aa6b3d22a26517a0b136c827a5e70384faef0a2d (patch) | |
tree | 4d5e35770774efa110b4b1dca22078ac97b72b7a /docs | |
parent | 2eb355733ff3b9a6cde53f7c114f9ae77368a25f (diff) |
Marcus Webster's added CURLFORM_CONTENTHEADER docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/curl_formadd.3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/curl_formadd.3 b/docs/curl_formadd.3 index 32a60e90d..9957a6983 100644 --- a/docs/curl_formadd.3 +++ b/docs/curl_formadd.3 @@ -58,6 +58,13 @@ are allowed. The effect of this parameter is the same as giving multiple \fBCURLFORM_FILE\fP options possibly with \fBCURLFORM_CONTENTTYPE\fP after or before each \fBCURLFORM_FILE\fP option. +Should you need to specify extra headers for the form POST section, use +\fBCURLFORM_CONTENTHEADER\fP. This takes a curl_slist prepared in the usual way +using \fBcurl_slist_append\fP and appends the list of headers to those Curl +automatically generates for \fBCURLFORM_CONTENTTYPE\fP and the content +disposition. The list must exist while the POST occurs, if you free it before +the post completes you may experience problems. + The last argument in such an array must always be \fBCURLFORM_END\fP. The pointers \fI*firstitem\fP and \fI*lastitem\fP should both be pointing to |