1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP proxy 6noproxy 7</keywords> 8</info> 9 10# Server-side 11<reply> 12<data> 13HTTP/1.1 200 OK 14Date: Tue, 09 Nov 2010 14:49:00 GMT 15Server: test-server/fake 16Content-Length: 4 17Content-Type: text/html 18 19foo 20</data> 21</reply> 22 23# Client-side 24<client> 25<features> 26proxy 27</features> 28<server> 29http 30</server> 31<name> 32Access a non-proxied host with using the combination of --proxy option and --noproxy option 33</name> 34<command> 35http://user:secret@%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy http://dummy:%NOLISTENPORT/ --noproxy %HOSTIP --max-time 5 36</command> 37</client> 38 39# Verify data after the test has been "shot" 40<verify> 41<protocol> 42GET /%TESTNUMBER HTTP/1.1 43Host: %HOSTIP:%HTTPPORT 44Authorization: Basic dXNlcjpzZWNyZXQ= 45User-Agent: curl/%VERSION 46Accept: */* 47 48</protocol> 49</verify> 50</testcase> 51