mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:53:32 +03:00
lib: sanitize conditional exclusion around MIME
The introduction of CURL_DISABLE_MIME came with some additional bugs: - Disabled MIME is compiled-in anyway if SMTP and/or IMAP is enabled. - CURLOPT_MIMEPOST, CURLOPT_MIME_OPTIONS and CURLOPT_HTTPHEADER are conditioned on HTTP, although also needed for SMTP and IMAP MIME mail uploads. In addition, the CURLOPT_HTTPHEADER and --header documentation does not mention their use for MIME mail. This commit fixes the problems above. Closes #9610
This commit is contained in:
parent
75670e4573
commit
2437fac013
7 changed files with 101 additions and 55 deletions
|
|
@ -28,6 +28,9 @@ body
|
|||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<features>
|
||||
Mime
|
||||
</features>
|
||||
<server>
|
||||
imap
|
||||
</server>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue