• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4FTP
5HTTP
6HTTP/1.0
7HTTP GET
8HTTP proxy
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<data>
16HTTP/1.0 200 OK
17Date: Thu, 09 Nov 2010 14:49:00 GMT
18Server: test-server/fake
19Content-Type: text/plain
20Content-Length: 9
21Funny-head: yesyes
22Proxy-Connection: Keep-Alive
23
24contents
25</data>
26<data2>
27HTTP/1.0 200 OK
28Date: Thu, 09 Nov 2010 14:49:00 GMT
29Server: test-server/fake
30Content-Type: text/plain
31Content-Length: 9
32Funny-head: yesyes
33
34contents
35</data2>
36</reply>
37
38#
39# Client-side
40<client>
41<server>
42http
43</server>
44<features>
45ftp
46</features>
47 <name>
48FTP over HTTP proxy with downgrade to HTTP 1.0
49 </name>
50 <command>
51-x %HOSTIP:%HTTPPORT ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1077 ftp://%HOSTIP:%HTTPPORT/we/want/that/page/10770002
52</command>
53</client>
54
55#
56# Verify data after the test has been "shot"
57<verify>
58<strip>
59^User-Agent:.*
60</strip>
61<protocol>
62GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1077 HTTP/1.1
63Host: %HOSTIP:%HTTPPORT
64Accept: */*
65
66GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/10770002 HTTP/1.0
67Host: %HOSTIP:%HTTPPORT
68Accept: */*
69
70</protocol>
71</verify>
72</testcase>
73