2007-01-23 03:25:56 +01:00
|
|
|
<testcase>
|
2005-04-22 23:59:08 +02:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
HTTP proxy
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-08-11 12:12:35 +02:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2006-11-25 14:32:04 +01:00
|
|
|
HTTP/1.0 200 OK
|
2003-08-11 12:12:35 +02:00
|
|
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
|
|
|
Server: test-server/fake swsclose
|
|
|
|
Content-Type: text/html
|
|
|
|
Funny-head: yesyes
|
|
|
|
|
|
|
|
contents
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
2007-03-09 22:01:39 +01:00
|
|
|
<features>
|
|
|
|
ftp
|
|
|
|
</features>
|
2003-08-11 12:12:35 +02:00
|
|
|
<name>
|
|
|
|
FTP over HTTP proxy
|
|
|
|
</name>
|
|
|
|
<command>
|
2004-09-08 10:08:38 +02:00
|
|
|
ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 -x %HOSTIP:%HTTPPORT
|
2003-08-11 12:12:35 +02:00
|
|
|
</command>
|
2005-01-25 22:45:03 +01:00
|
|
|
</client>
|
2003-08-11 12:12:35 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
2007-12-03 10:50:32 +01:00
|
|
|
GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 HTTP/1.1
|
2007-09-14 21:32:31 +02:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2004-02-09 13:46:41 +01:00
|
|
|
Accept: */*
|
2005-05-11 11:52:59 +02:00
|
|
|
Proxy-Connection: Keep-Alive
|
2003-08-11 12:12:35 +02:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 03:25:56 +01:00
|
|
|
</testcase>
|