From: Daniel Stenberg Date: Wed, 12 Jul 2023 12:55:10 +0000 (+0200) Subject: CURLOPT_MIMEPOST.3: clarify what setting to NULL means X-Git-Tag: curl-8_2_0~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d80c1008f6b56c860269299b0192eb17343de2aa;p=thirdparty%2Fcurl.git CURLOPT_MIMEPOST.3: clarify what setting to NULL means Follow-up to e08382a208d4e480 Closes #11430 --- diff --git a/docs/libcurl/opts/CURLOPT_MIMEPOST.3 b/docs/libcurl/opts/CURLOPT_MIMEPOST.3 index ca6fc680bc..e8e5433da7 100644 --- a/docs/libcurl/opts/CURLOPT_MIMEPOST.3 +++ b/docs/libcurl/opts/CURLOPT_MIMEPOST.3 @@ -40,6 +40,10 @@ SMTP and IMAP protocols to provide the email data to send/upload. This option is the preferred way of posting an HTTP form, replacing and extending the \fICURLOPT_HTTPPOST(3)\fP option. + +When setting \fICURLOPT_MIMEPOST(3)\fP to NULL, libcurl resets the request +type for HTTP to the default to disable the POST. Typically that would mean it +is reset to GET. Instead you should set a desired request method explicitly. .SH PROTOCOLS HTTP, SMTP, IMAP. .SH EXAMPLE