Debian Codegraph @

curl/tests/data/test174

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