Imported Upstream version 7.40.0
[platform/upstream/curl.git] / tests / data / test862
1 <testcase>
2 <info>
3 <keywords>
4 POP3
5 Clear Text
6 TOP
7 CUSTOMREQUEST
8 RFC2449
9 </keywords>
10 </info>
11
12 #
13 # Server-side
14 <reply>
15 <servercmd>\r
16 CAPA TOP USER\r
17 </servercmd>\r
18 <data>\r
19 From: me@somewhere\r
20 To: fake@nowhere\r
21 \r
22 </data>\r
23 </reply>
24
25 #
26 # Client-side
27 <client>
28 <server>
29 pop3
30 </server>
31  <name>
32 POP3 retrieve message header (CUSTOMREQUEST)
33  </name>
34  <command>
35 pop3://%HOSTIP:%POP3PORT -u user:secret -X 'TOP 862 0'
36 </command>
37 </client>
38
39 #
40 # Verify data after the test has been "shot"
41 <verify>
42 <protocol>
43 CAPA\r
44 USER user\r
45 PASS secret\r
46 TOP 862 0\r
47 QUIT\r
48 </protocol>
49 </verify>
50 </testcase>