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