xref: /third_party/curl/tests/data/test1319 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciPOP3
513498266Sopenharmony_ciRETR
613498266Sopenharmony_ciHTTP
713498266Sopenharmony_ciHTTP CONNECT
813498266Sopenharmony_ciHTTP proxy
913498266Sopenharmony_ci</keywords>
1013498266Sopenharmony_ci</info>
1113498266Sopenharmony_ci#
1213498266Sopenharmony_ci# Server-side
1313498266Sopenharmony_ci<reply>
1413498266Sopenharmony_ci
1513498266Sopenharmony_ci<connect>
1613498266Sopenharmony_ciHTTP/1.1 200 Mighty fine indeed
1713498266Sopenharmony_cipop3: sure hit me
1813498266Sopenharmony_ci
1913498266Sopenharmony_ci</connect>
2013498266Sopenharmony_ci
2113498266Sopenharmony_ci# When doing LIST, we get the default list output hard-coded in the test
2213498266Sopenharmony_ci# FTP server
2313498266Sopenharmony_ci<data>
2413498266Sopenharmony_ciFrom: me@somewhere
2513498266Sopenharmony_ciTo: fake@nowhere
2613498266Sopenharmony_ci
2713498266Sopenharmony_cibody
2813498266Sopenharmony_ci
2913498266Sopenharmony_ci--
3013498266Sopenharmony_ci  yours sincerely
3113498266Sopenharmony_ci</data>
3213498266Sopenharmony_ci
3313498266Sopenharmony_ci<datacheck>
3413498266Sopenharmony_ciFrom: me@somewhere
3513498266Sopenharmony_ciTo: fake@nowhere
3613498266Sopenharmony_ci
3713498266Sopenharmony_cibody
3813498266Sopenharmony_ci
3913498266Sopenharmony_ci--
4013498266Sopenharmony_ci  yours sincerely
4113498266Sopenharmony_ci</datacheck>
4213498266Sopenharmony_ci</reply>
4313498266Sopenharmony_ci
4413498266Sopenharmony_ci#
4513498266Sopenharmony_ci# Client-side
4613498266Sopenharmony_ci<client>
4713498266Sopenharmony_ci<server>
4813498266Sopenharmony_cipop3
4913498266Sopenharmony_cihttp-proxy
5013498266Sopenharmony_ci</server>
5113498266Sopenharmony_ci<features>
5213498266Sopenharmony_cihttp
5313498266Sopenharmony_ciproxy
5413498266Sopenharmony_ci</features>
5513498266Sopenharmony_ci<name>
5613498266Sopenharmony_ciPOP3 fetch tunneled through HTTP proxy
5713498266Sopenharmony_ci</name>
5813498266Sopenharmony_ci<command>
5913498266Sopenharmony_cipop3://pop.%TESTNUMBER:%POP3PORT/%TESTNUMBER -p -x %HOSTIP:%PROXYPORT -u user:secret
6013498266Sopenharmony_ci</command>
6113498266Sopenharmony_ci</client>
6213498266Sopenharmony_ci
6313498266Sopenharmony_ci#
6413498266Sopenharmony_ci# Verify data after the test has been "shot"
6513498266Sopenharmony_ci<verify>
6613498266Sopenharmony_ci<protocol>
6713498266Sopenharmony_ciCAPA
6813498266Sopenharmony_ciUSER user
6913498266Sopenharmony_ciPASS secret
7013498266Sopenharmony_ciRETR %TESTNUMBER
7113498266Sopenharmony_ciQUIT
7213498266Sopenharmony_ci</protocol>
7313498266Sopenharmony_ci<proxy>
7413498266Sopenharmony_ciCONNECT pop.%TESTNUMBER:%POP3PORT HTTP/1.1
7513498266Sopenharmony_ciHost: pop.%TESTNUMBER:%POP3PORT
7613498266Sopenharmony_ciUser-Agent: curl/%VERSION
7713498266Sopenharmony_ciProxy-Connection: Keep-Alive
7813498266Sopenharmony_ci
7913498266Sopenharmony_ci</proxy>
8013498266Sopenharmony_ci</verify>
8113498266Sopenharmony_ci</testcase>
82