Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test514
blob94c90cfec4a6cbbfc3ae6f1cad011189bfbc35da
1 <testcase>
3 # Server-side
4 <reply>
5 <data mode="text">
6 HTTP/1.1 200 OK
7 Date: Thu, 09 Nov 2010 14:49:00 GMT
8 Server: test-server/fake
9 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
10 ETag: "21025-dc7-39462498"
11 Accept-Ranges: bytes
12 Content-Length: 6
13 Connection: close
14 Content-Type: text/html
15 Funny-head: yesyes
17 </data>
18 </reply>
21 # Client-side
22 <client>
23 <server>
24 http
25 </server>
26 <tool>
27 lib514
28 </tool>
29  <name>
30 First set options to POST and then to make HEAD
31  </name>
32  <command>
33 http://%HOSTIP:%HTTPPORT/514
34 </command>
35 </client>
38 # Verify data after the test has been "shot"
39 <verify>
40 <strip>
41 ^User-Agent:.*
42 </strip>
43 <protocol>
44 HEAD /514 HTTP/1.1
45 Host: %HOSTIP:%HTTPPORT
46 Accept: */*
48 </protocol>
49 </verify>
50 </testcase>