]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_MIMEPOST.3: clarify what setting to NULL means
authorDaniel Stenberg <daniel@haxx.se>
Wed, 12 Jul 2023 12:55:10 +0000 (14:55 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 13 Jul 2023 06:54:48 +0000 (08:54 +0200)
Follow-up to e08382a208d4e480

Closes #11430

docs/libcurl/opts/CURLOPT_MIMEPOST.3

index ca6fc680bc847fcd5b6c45fa4f4bb44b214c6019..e8e5433da760c956253742d447a60ba9cf21a8aa 100644 (file)
@@ -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