1<testcase>
2# Server-side
3<reply>
4<data>
5HTTP/1.1 200 beng swsclose
6Server: Microsoft-IIS/6.0
7Authentication-Info: Passport1.4 tname=MSPAuth,tname=MSPProf,tname=MSPConsent,tname=MSPSecAuth
8Content-Type: text/html; charset=iso-8859-1
9Content-Length: 26
10
11This is not the real page
12</data>
13</reply>
14
15# Client-side
16<client>
17# 
18<server>
19http
20</server>
21 <name>
22HTTP POST --anyauth to server not requiring any auth at all
23 </name>
24 <command>
25http://%HOSTIP:%HTTPPORT/174 -u testuser:testpass --anyauth -d "junkelijunk"
26</command>
27</client>
28
29# Verify data after the test has been "shot"
30<verify>
31<strip>
32^User-Agent:.*
33</strip>
34<protocol nonewline="yes">
35POST /174 HTTP/1.1
36User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
37Host: %HOSTIP:%HTTPPORT
38Accept: */*
39Content-Length: 11
40Content-Type: application/x-www-form-urlencoded
41
42junkelijunk
43</protocol>
44</verify>
45</testcase>
46