mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
2437fac013
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
58 lines
684 B
Plaintext
58 lines
684 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
IMAP
|
|
Clear Text
|
|
FETCH
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
From: me@somewhere
|
|
To: fake@nowhere
|
|
|
|
body
|
|
|
|
--
|
|
yours sincerely
|
|
</data>
|
|
<datacheck>
|
|
</datacheck>
|
|
<servercmd>
|
|
</servercmd>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
Mime
|
|
</features>
|
|
<server>
|
|
imap
|
|
</server>
|
|
<name>
|
|
IMAP cleanup before a connection was created
|
|
</name>
|
|
# tool is what to use instead of 'curl'
|
|
<tool>
|
|
lib1553
|
|
</tool>
|
|
|
|
# it is important this uses a host name that resolves successfully
|
|
<command>
|
|
imap://localhost:%IMAPPORT/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|