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