Debian Codegraph @

curl/tests/data/test157

raw
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 No Authorization Required swsclose
5 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
6 Content-Type: text/html; charset=iso-8859-1
7 Connection: close
8
9 GET received and served just fine. Thank you very much
10 </data>
11 </reply>
12
13 # Client-side
14 <client>
15 <server>
16 http
17 </server>
18 <name>
19 HTTP GET with --anyauth (when the server requires none)
20 </name>
21 <command>
22 http://%HOSTIP:%HTTPPORT/157 -u testuser:testpass --anyauth
23 </command>
24 </client>
25
26 # Verify data after the test has been "shot"
27 <verify>
28 <strip>
29 ^User-Agent:.*
30 </strip>
31 <protocol>
32 GET /157 HTTP/1.1
33 Host: 127.0.0.1:%HTTPPORT
34 Accept: */*
35
36 </protocol>
37 </verify>