1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6</keywords> 7</info> 8 9# Server-side 10<reply> 11<data> 12HTTP/1.0 401 BAD BOY 13Server: swsclose 14Content-Type: text/html 15 16This contains a response code >= 400, so curl shouldn't display this. Even 17though it's a response code that triggers authentication, we're not using 18authentication so we should still fail. 19</data> 20</reply> 21 22# Client-side 23<client> 24<server> 25http 26</server> 27<name> 28HTTP GET with an error code that might trick authentication 29</name> 30<command> 31http://%HOSTIP:%HTTPPORT/%TESTNUMBER 32</command> 33</client> 34 35# Verify data after the test has been "shot" 36<verify> 37<protocol> 38GET /%TESTNUMBER HTTP/1.1 39Host: %HOSTIP:%HTTPPORT 40User-Agent: curl/%VERSION 41Accept: */* 42 43</protocol> 44</verify> 45</testcase> 46