xref: /aosp_15_r20/external/curl/tests/data/test1319 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerPOP3
5*6236dae4SAndroid Build Coastguard WorkerRETR
6*6236dae4SAndroid Build Coastguard WorkerHTTP
7*6236dae4SAndroid Build Coastguard WorkerHTTP CONNECT
8*6236dae4SAndroid Build Coastguard WorkerHTTP proxy
9*6236dae4SAndroid Build Coastguard Worker</keywords>
10*6236dae4SAndroid Build Coastguard Worker</info>
11*6236dae4SAndroid Build Coastguard Worker#
12*6236dae4SAndroid Build Coastguard Worker# Server-side
13*6236dae4SAndroid Build Coastguard Worker<reply>
14*6236dae4SAndroid Build Coastguard Worker
15*6236dae4SAndroid Build Coastguard Worker<connect>
16*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 Mighty fine indeed
17*6236dae4SAndroid Build Coastguard Workerpop3: sure hit me
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard Worker</connect>
20*6236dae4SAndroid Build Coastguard Worker
21*6236dae4SAndroid Build Coastguard Worker# When doing LIST, we get the default list output hard-coded in the test
22*6236dae4SAndroid Build Coastguard Worker# FTP server
23*6236dae4SAndroid Build Coastguard Worker<data>
24*6236dae4SAndroid Build Coastguard WorkerFrom: me@somewhere
25*6236dae4SAndroid Build Coastguard WorkerTo: fake@nowhere
26*6236dae4SAndroid Build Coastguard Worker
27*6236dae4SAndroid Build Coastguard Workerbody
28*6236dae4SAndroid Build Coastguard Worker
29*6236dae4SAndroid Build Coastguard Worker--
30*6236dae4SAndroid Build Coastguard Worker  yours sincerely
31*6236dae4SAndroid Build Coastguard Worker</data>
32*6236dae4SAndroid Build Coastguard Worker
33*6236dae4SAndroid Build Coastguard Worker<datacheck>
34*6236dae4SAndroid Build Coastguard WorkerFrom: me@somewhere
35*6236dae4SAndroid Build Coastguard WorkerTo: fake@nowhere
36*6236dae4SAndroid Build Coastguard Worker
37*6236dae4SAndroid Build Coastguard Workerbody
38*6236dae4SAndroid Build Coastguard Worker
39*6236dae4SAndroid Build Coastguard Worker--
40*6236dae4SAndroid Build Coastguard Worker  yours sincerely
41*6236dae4SAndroid Build Coastguard Worker</datacheck>
42*6236dae4SAndroid Build Coastguard Worker</reply>
43*6236dae4SAndroid Build Coastguard Worker
44*6236dae4SAndroid Build Coastguard Worker#
45*6236dae4SAndroid Build Coastguard Worker# Client-side
46*6236dae4SAndroid Build Coastguard Worker<client>
47*6236dae4SAndroid Build Coastguard Worker<server>
48*6236dae4SAndroid Build Coastguard Workerpop3
49*6236dae4SAndroid Build Coastguard Workerhttp-proxy
50*6236dae4SAndroid Build Coastguard Worker</server>
51*6236dae4SAndroid Build Coastguard Worker<features>
52*6236dae4SAndroid Build Coastguard Workerhttp
53*6236dae4SAndroid Build Coastguard Workerproxy
54*6236dae4SAndroid Build Coastguard Worker</features>
55*6236dae4SAndroid Build Coastguard Worker<name>
56*6236dae4SAndroid Build Coastguard WorkerPOP3 fetch tunneled through HTTP proxy
57*6236dae4SAndroid Build Coastguard Worker</name>
58*6236dae4SAndroid Build Coastguard Worker<command>
59*6236dae4SAndroid Build Coastguard Workerpop3://pop.%TESTNUMBER:%POP3PORT/%TESTNUMBER -p -x %HOSTIP:%PROXYPORT -u user:secret
60*6236dae4SAndroid Build Coastguard Worker</command>
61*6236dae4SAndroid Build Coastguard Worker</client>
62*6236dae4SAndroid Build Coastguard Worker
63*6236dae4SAndroid Build Coastguard Worker#
64*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
65*6236dae4SAndroid Build Coastguard Worker<verify>
66*6236dae4SAndroid Build Coastguard Worker<protocol>
67*6236dae4SAndroid Build Coastguard WorkerCAPA
68*6236dae4SAndroid Build Coastguard WorkerUSER user
69*6236dae4SAndroid Build Coastguard WorkerPASS secret
70*6236dae4SAndroid Build Coastguard WorkerRETR %TESTNUMBER
71*6236dae4SAndroid Build Coastguard WorkerQUIT
72*6236dae4SAndroid Build Coastguard Worker</protocol>
73*6236dae4SAndroid Build Coastguard Worker<proxy>
74*6236dae4SAndroid Build Coastguard WorkerCONNECT pop.%TESTNUMBER:%POP3PORT HTTP/1.1
75*6236dae4SAndroid Build Coastguard WorkerHost: pop.%TESTNUMBER:%POP3PORT
76*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION
77*6236dae4SAndroid Build Coastguard WorkerProxy-Connection: Keep-Alive
78*6236dae4SAndroid Build Coastguard Worker
79*6236dae4SAndroid Build Coastguard Worker</proxy>
80*6236dae4SAndroid Build Coastguard Worker</verify>
81*6236dae4SAndroid Build Coastguard Worker</testcase>
82