1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP CONNECT 6proxytunnel 7FTP 8FAILURE 9</keywords> 10 11</info> 12# 13# Server-side 14<reply> 15<connect> 16HTTP/1.1 501 Method not implemented swsclose 17Date: Thu, 09 Nov 2010 14:49:00 GMT 18Connection: close 19Content-Length: 0 20 21</connect> 22</reply> 23 24# 25# Client-side 26<client> 27<features> 28ftp 29</features> 30<server> 31http 32</server> 33 <name> 34HTTP CONNECT with proxytunnel to unsupported FTP URL 35 </name> 36 <command> 37ftp://test-number:1059/wanted/page -p -x %HOSTIP:%HTTPPORT 38</command> 39</client> 40 41# 42# Verify data after the test has been "shot" 43<verify> 44# The server doesn't implement CONNECT for ftp, so this must be a failure test 45<errorcode> 4656 47</errorcode> 48<strip> 49^User-Agent:.* 50</strip> 51<protocol> 52CONNECT test-number:1059 HTTP/1.1 53Host: test-number:1059 54Proxy-Connection: Keep-Alive 55 56</protocol> 57</verify> 58</testcase> 59