]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_POSTFIELDS.3: refer to CURLOPT_MIMEPOST
authorDaniel Stenberg <daniel@haxx.se>
Mon, 17 Oct 2022 12:51:51 +0000 (14:51 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 17 Oct 2022 14:09:22 +0000 (16:09 +0200)
Not the deprecated CURLOPT_HTTPPOST option.

Also added two see-alsos.

Reported-by: Trail of Bits
Closes #9752

docs/libcurl/opts/CURLOPT_POSTFIELDS.3

index 518aa3084bf829adfc55e3901da27407b22b9345..f0fcda915450a9d40754d029c859dd64658b4c1d 100644 (file)
@@ -69,7 +69,7 @@ be larger than 1MB or if the expected size is unknown. You can disable this
 header with \fICURLOPT_HTTPHEADER(3)\fP as usual.
 
 To make \fBmultipart/formdata\fP posts, check out the
-\fICURLOPT_HTTPPOST(3)\fP option combined with \fIcurl_mime_init(3)\fP.
+\fICURLOPT_MIMEPOST(3)\fP option combined with \fIcurl_mime_init(3)\fP.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
@@ -97,3 +97,4 @@ Always
 Returns CURLE_OK
 .SH "SEE ALSO"
 .BR CURLOPT_POSTFIELDSIZE "(3), " CURLOPT_READFUNCTION "(3), "
+.BR CURLOPT_MIMEPOST "(3), " CURLOPT_UPLOAD "(3), "