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