2007-01-22 21:25:56 -05:00
|
|
|
<testcase>
|
2005-04-22 17:59:08 -04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
HTTP proxy
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-08-11 06:12:35 -04:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2006-11-25 08:32:04 -05:00
|
|
|
HTTP/1.0 200 OK
|
2003-08-11 06:12:35 -04: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 16:01:39 -05:00
|
|
|
<features>
|
|
|
|
ftp
|
2019-10-14 16:29:19 -04:00
|
|
|
proxy
|
2007-03-09 16:01:39 -05:00
|
|
|
</features>
|
2003-08-11 06:12:35 -04:00
|
|
|
<name>
|
|
|
|
FTP over HTTP proxy
|
|
|
|
</name>
|
|
|
|
<command>
|
2004-09-08 04:08:38 -04:00
|
|
|
ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 -x %HOSTIP:%HTTPPORT
|
2003-08-11 06:12:35 -04:00
|
|
|
</command>
|
2005-01-25 16:45:03 -05:00
|
|
|
</client>
|
2003-08-11 06:12:35 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
2007-12-03 04:50:32 -05:00
|
|
|
GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 HTTP/1.1
|
2007-09-14 15:32:31 -04:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2004-02-09 07:46:41 -05:00
|
|
|
Accept: */*
|
2016-08-16 02:36:04 -04:00
|
|
|
Proxy-Connection: Keep-Alive
|
2003-08-11 06:12:35 -04:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-22 21:25:56 -05:00
|
|
|
</testcase>
|