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