1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6HTTP proxy 7persistent connection 8</keywords> 9</info> 10 11# Server-side 12<reply> 13<data> 14HTTP/1.1 200 OK 15Date: Thu, 09 Nov 2010 14:49:00 GMT 16Content-Length: 4 17 18moo 19</data> 20</reply> 21 22# Client-side 23<client> 24<server> 25http 26</server> 27 <name> 28HTTP GET two URLs over a single proxy with persistent connection 29 </name> 30 <command> 31http://deathstar.another.galaxy/183 http://a.galaxy.far.far.away/183 --proxy http://%HOSTIP:%HTTPPORT 32</command> 33<features> 34proxy 35</features> 36</client> 37 38# Verify data after the test has been "shot" 39<verify> 40<strip> 41^User-Agent: curl/.* 42</strip> 43<protocol> 44GET http://deathstar.another.galaxy/183 HTTP/1.1 45User-Agent: curl/7.12.2-CVS (i686-pc-linux-gnu) libcurl/7.12.2-CVS OpenSSL/0.9.6b zlib/1.1.4 libidn/0.4.6 46Host: deathstar.another.galaxy 47Accept: */* 48Proxy-Connection: Keep-Alive 49 50GET http://a.galaxy.far.far.away/183 HTTP/1.1 51User-Agent: curl/7.12.2-CVS (i686-pc-linux-gnu) libcurl/7.12.2-CVS OpenSSL/0.9.6b zlib/1.1.4 libidn/0.4.6 52Host: a.galaxy.far.far.away 53Accept: */* 54Proxy-Connection: Keep-Alive 55 56</protocol> 57 58</verify> 59</testcase> 60