From d80c1008f6b56c860269299b0192eb17343de2aa Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 12 Jul 2023 14:55:10 +0200 Subject: [PATCH] CURLOPT_MIMEPOST.3: clarify what setting to NULL means Follow-up to e08382a208d4e480 Closes #11430 --- docs/libcurl/opts/CURLOPT_MIMEPOST.3 | 4 ++++ 1 file changed, 4 insertions(+) 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