12 <!-- First request has Basic auth, right password -->
14 HTTP/1.1 200 Things are fine in server land
15 Server: Microsoft-IIS/5.0
16 Content-Type: text/html; charset=iso-8859-1
19 Finally, this is the real page!
22 <!-- Second request with Basic auth disabled -->
24 HTTP/1.1 401 Sorry wrong password (2)
25 Server: Microsoft-IIS/5.0
26 Content-Type: text/html; charset=iso-8859-1
28 WWW-Authenticate: Basic realm="testrealm"
30 This is a bad password page!
41 HTTP Basic authorization, then without authorization
43 <command option="no-output,no-include">
44 -u testuser:testpass http://%HOSTIP:%HTTPPORT/20400100 --next --no-basic http://%HOSTIP:%HTTPPORT/20400200
48 # Verify data after the test has been "shot"
54 GET /20400100 HTTP/1.1
55 Host: %HOSTIP:%HTTPPORT
56 Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
59 GET /20400200 HTTP/1.1
60 Host: %HOSTIP:%HTTPPORT
65 Finally, this is the real page!
66 This is a bad password page!