xref: /curl/tests/data/test841 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4IMAP
5Clear Text
6FETCH
7CUSTOMREQUEST
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data>
15body
16
17+ Curl did not used to like this line
18--
19  yours sincerely
20</data>
21<datacheck>
22* 123 FETCH (BODY[1] {70}
23</datacheck>
24</reply>
25
26#
27# Client-side
28<client>
29<server>
30imap
31</server>
32<name>
33IMAP custom request doesn't check continuation data
34</name>
35<command>
36 imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/ -u user:secret -X 'FETCH 123 BODY[1]'
37</command>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<protocol>
44A001 CAPABILITY
45A002 LOGIN user secret
46A003 SELECT %TESTNUMBER
47A004 FETCH 123 BODY[1]
48A005 LOGOUT
49</protocol>
50</verify>
51</testcase>
52