1<testcase> 2<info> 3<keywords> 4FTP 5HTTP proxy 6CURLOPT_PROXY 7</keywords> 8</info> 9 10# 11# Server-side 12<reply> 13<data nocheck="yes"> 14HTTP/1.1 200 OK 15Date: Thu, 09 Nov 2010 14:49:00 GMT 16Content-Length: 6 17 18hello 19</data> 20 21</reply> 22 23# 24# Client-side 25<client> 26<server> 27http 28</server> 29<features> 30http 31ftp 32</features> 33 <name> 34FTP RETR twice over proxy confirming persistent connection 35 </name> 36 37 <command> 38ftp://ftp-site/moo/1098 ftp://ftp-site/moo/1098 --proxy http://%HOSTIP:%HTTPPORT 39</command> 40</client> 41 42# 43# Verify data after the test has been "shot" 44<verify> 45<strip> 46^User-Agent:.* 47</strip> 48<protocol> 49GET ftp://ftp-site/moo/1098 HTTP/1.1 50Host: ftp-site:21 51Accept: */* 52 53GET ftp://ftp-site/moo/1098 HTTP/1.1 54Host: ftp-site:21 55Accept: */* 56 57</protocol> 58<stdout> 59HTTP/1.1 200 OK 60Date: Thu, 09 Nov 2010 14:49:00 GMT 61Content-Length: 6 62 63hello 64HTTP/1.1 200 OK 65Date: Thu, 09 Nov 2010 14:49:00 GMT 66Content-Length: 6 67 68hello 69</stdout> 70</verify> 71</testcase> 72