1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP/1.0 6HTTP GET 7HTTP CONNECT 8HTTP proxy 9proxytunnel 10</keywords> 11</info> 12 13# 14# Server-side 15<reply> 16<data nocheck="yes"> 17HTTP/1.0 200 OK 18Date: Thu, 09 Nov 2010 14:49:00 GMT 19Server: test-server/fake 20Content-Type: text/html 21Funny-head: yesyes 22Content-Length: 9 23Connection: keep-alive 24 25contents 26</data> 27</reply> 28 29# 30# Client-side 31<client> 32<server> 33http 34</server> 35 <name> 36HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0 37 </name> 38 <command> 39--proxy1.0 %HOSTIP:%HTTPPORT -p http://%HOSTIP:%HTTPPORT/we/want/that/page/1078 http://%HOSTIP:%HTTPPORT/we/want/that/page/1078 40</command> 41</client> 42 43# 44# Verify data after the test has been "shot" 45<verify> 46<strip> 47^User-Agent:.* 48</strip> 49<protocol> 50CONNECT %HOSTIP:%HTTPPORT HTTP/1.0 51Host: %HOSTIP:%HTTPPORT 52Proxy-Connection: Keep-Alive 53 54GET /we/want/that/page/1078 HTTP/1.1 55Host: %HOSTIP:%HTTPPORT 56Accept: */* 57 58GET /we/want/that/page/1078 HTTP/1.0 59Host: %HOSTIP:%HTTPPORT 60Accept: */* 61 62</protocol> 63<stdout> 64HTTP/1.1 200 Mighty fine indeed 65 66HTTP/1.0 200 OK 67Date: Thu, 09 Nov 2010 14:49:00 GMT 68Server: test-server/fake 69Content-Type: text/html 70Funny-head: yesyes 71Content-Length: 9 72Connection: keep-alive 73 74contents 75HTTP/1.0 200 OK 76Date: Thu, 09 Nov 2010 14:49:00 GMT 77Server: test-server/fake 78Content-Type: text/html 79Funny-head: yesyes 80Content-Length: 9 81Connection: keep-alive 82 83contents 84</stdout> 85</verify> 86</testcase> 87