1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6HTTP Basic auth 7HTTP proxy 8</keywords> 9</info> 10# 11# Server-side 12<reply> 13<data> 14HTTP/1.0 200 OK 15Date: Tue, 09 Nov 2010 14:49:00 GMT 16Server: test-server/fake swsclose 17Content-Type: text/html 18Funny-head: yesyes 19 20contents 21</data> 22</reply> 23 24# 25# Client-side 26<client> 27<server> 28http 29</server> 30<name> 31HTTP over proxy with site authentication 32</name> 33<command> 34http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT --user iam:myself 35</command> 36<features> 37proxy 38</features> 39</client> 40 41# 42# Verify data after the test has been "shot" 43<verify> 44<protocol> 45GET http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER HTTP/1.1 46Host: %HOSTIP:%HTTPPORT 47Authorization: Basic aWFtOm15c2VsZg== 48User-Agent: curl/%VERSION 49Accept: */* 50Proxy-Connection: Keep-Alive 51 52</protocol> 53</verify> 54</testcase> 55