Debian Codegraph @

deps/curl/tests/data/test714

raw
1 <testcase>
2 #based off test 712
3 <info>
4 <keywords>
5 FTP
6 PASV
7 RETR
8 HTTP
9 HTTP CONNECT
10 proxytunnel
11 CURLOPT_CONNECT_TO
12 </keywords>
13 </info>
14 #
15 # Server-side
16 <reply>
17 <connect>
18 HTTP/1.1 200 Connection established
19
20 </connect>
21
22 <data nocheck="yes">
23 silly content
24 </data>
25
26 <datacheck>
27 HTTP/1.1 200 Connection established
28
29 HTTP/1.1 200 Connection established
30
31 silly content
32 </datacheck>
33 </reply>
34
35 #
36 # Client-side
37 <client>
38 <server>
39 ftp
40 http-proxy
41 </server>
42 <features>
43 http
44 proxy
45 </features>
46 <name>
47 FTP fetch with --proxy set to http:// and with --connect-to
48 </name>
49 <command>
50 ftp://ftp.example.com.714/714 --connect-to ::connect.example.com.714:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT
51 </command>
52 </client>
53
54 #
55 # Verify data after the test has been "shot"
56 <verify>
57 <protocol>
58 USER anonymous
59 PASS [email protected]
60 PWD
61 EPSV
62 TYPE I
63 SIZE 714
64 RETR 714
65 QUIT
66 </protocol>
67 </verify>
68 </testcase>