xref: /curl/tests/data/test79 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4FTP
5HTTP
6HTTP GET
7HTTP proxy
8</keywords>
9</info>
10#
11# Server-side
12<reply>
13<data>
14HTTP/1.0 200 OK
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Server: test-server/fake swsclose
17Content-Type: text/html
18Funny-head: yesyes
19
20contents
21</data>
22</reply>
23
24#
25# Client-side
26<client>
27<server>
28http
29</server>
30<features>
31ftp
32proxy
33</features>
34<name>
35FTP over HTTP proxy
36</name>
37<command>
38ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT
39</command>
40</client>
41
42#
43# Verify data after the test has been "shot"
44<verify>
45<protocol>
46GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER HTTP/1.1
47Host: %HOSTIP:%HTTPPORT
48User-Agent: curl/%VERSION
49Accept: */*
50Proxy-Connection: Keep-Alive
51
52</protocol>
53</verify>
54</testcase>
55