From: Daniel Stenberg Date: Mon, 17 Oct 2022 12:51:51 +0000 (+0200) Subject: CURLOPT_POSTFIELDS.3: refer to CURLOPT_MIMEPOST X-Git-Tag: curl-7_86_0~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d345ebfcdaec98c64ade5e146c7518fed90c312c;p=thirdparty%2Fcurl.git CURLOPT_POSTFIELDS.3: refer to CURLOPT_MIMEPOST Not the deprecated CURLOPT_HTTPPOST option. Also added two see-alsos. Reported-by: Trail of Bits Closes #9752 --- diff --git a/docs/libcurl/opts/CURLOPT_POSTFIELDS.3 b/docs/libcurl/opts/CURLOPT_POSTFIELDS.3 index 518aa3084b..f0fcda9154 100644 --- a/docs/libcurl/opts/CURLOPT_POSTFIELDS.3 +++ b/docs/libcurl/opts/CURLOPT_POSTFIELDS.3 @@ -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), "