• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
33proxy
34</features>
35 <name>
36FTP with type=i over HTTP proxy
37 </name>
38 <command>
39"ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1092;type=i" --use-ascii -x %HOSTIP:%HTTPPORT
40</command>
41</client>
42
43#
44# Verify data after the test has been "shot"
45<verify>
46<protocol>
47GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1092;type=i HTTP/1.1
48Host: %HOSTIP:%HTTPPORT
49User-Agent: curl/%VERSION
50Accept: */*
51Proxy-Connection: Keep-Alive
52
53</protocol>
54</verify>
55</testcase>
56