curl/docs/libcurl
Patrick Monnerat 2437fac013
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
2022-09-29 10:51:04 +02:00
..
opts lib: sanitize conditional exclusion around MIME 2022-09-29 10:51:04 +02:00
.gitignore copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
ABI.md docs: spellfixes 2022-09-21 15:20:08 +02:00
CMakeLists.txt copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_easy_cleanup.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_easy_duphandle.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_easy_escape.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_easy_getinfo.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_easy_header.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_easy_init.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_easy_nextheader.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_easy_option_by_id.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_easy_option_by_name.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_easy_option_next.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_easy_pause.3 curl_easy_pause.3: unpausing is as fast as possible 2022-09-05 17:34:49 +02:00
curl_easy_perform.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_easy_recv.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_easy_reset.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_easy_send.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_easy_setopt.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_easy_strerror.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_easy_unescape.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_easy_upkeep.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_escape.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_formadd.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_formfree.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_formget.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_free.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_getdate.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_getenv.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_global_cleanup.3 vtls: make curl_global_sslset thread-safe 2022-06-16 03:18:40 -04:00
curl_global_init_mem.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_global_init.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_global_sslset.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_mime_addpart.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_mime_data_cb.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_mime_data.3 curl_mime_data.3: polish the wording 2022-06-28 17:00:00 +02:00
curl_mime_encoder.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_mime_filedata.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_mime_filename.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_mime_free.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_mime_headers.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_mime_init.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_mime_name.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_mime_subparts.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_mime_type.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_mprintf.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_multi_add_handle.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_multi_assign.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_multi_cleanup.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_multi_fdset.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_multi_info_read.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_multi_init.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_multi_perform.3 curl_multi_perform.3: minor language fix 2022-08-15 10:00:40 +02:00
curl_multi_poll.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_multi_remove_handle.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_multi_setopt.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_multi_socket_action.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_multi_socket_all.3
curl_multi_socket.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_multi_strerror.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_multi_timeout.3 curl_multi_timeout.3: clarify usage 2022-07-17 23:27:55 +02:00
curl_multi_wait.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_multi_wakeup.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_share_cleanup.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_share_init.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_share_setopt.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_share_strerror.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_slist_append.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_slist_free_all.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_strequal.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_strnequal.3
curl_unescape.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_url_cleanup.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_url_dup.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_url_get.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_url_set.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_url_strerror.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_url.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_version_info.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_version.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl_ws_meta.3 docs: use "WebSocket" in singular 2022-09-13 10:04:46 +02:00
curl_ws_recv.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
curl_ws_send.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
libcurl-easy.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
libcurl-env.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
libcurl-errors.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
libcurl-multi.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
libcurl-security.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
libcurl-share.3 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
libcurl-thread.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
libcurl-tutorial.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
libcurl-url.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
libcurl.3 docs: spellfixes 2022-09-21 15:20:08 +02:00
libcurl.m4 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.am copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.inc curl_ws_meta.3: added docs 2022-09-09 15:11:14 +02:00
mksymbolsmanpage.pl copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
symbols-in-versions symbols-in-versions: CURLOPT_ENCODING is deprecated since 7.21.6 2022-09-22 17:35:23 +02:00
symbols.pl copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00