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: Tue, 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 29proxy 30</features> 31<server> 32http 33</server> 34<name> 35HTTP CONNECT with proxytunnel to unsupported FTP URL 36</name> 37<command> 38ftp://test-number:%TESTNUMBER/wanted/page -p -x %HOSTIP:%HTTPPORT 39</command> 40</client> 41 42# 43# Verify data after the test has been "shot" 44<verify> 45# The server doesn't implement CONNECT for ftp, so this must be a failure test 46<errorcode> 4756 48</errorcode> 49<protocol> 50CONNECT test-number:%TESTNUMBER HTTP/1.1 51Host: test-number:%TESTNUMBER 52User-Agent: curl/%VERSION 53Proxy-Connection: Keep-Alive 54 55</protocol> 56</verify> 57</testcase> 58