Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / tests / data / test14
blob21a4865b4569a7d3c5311d968972405e86003deb
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP HEAD
6 </keywords>
7 </info>
8 # Server-side
9 <reply>
10 <data>
11 HTTP/1.1 200 OK
12 Server: thebest/1.0
13 Connection: close
15 </data>
16 </reply>
18 # Client-side
19 <client>
20 <server>
21 http
22 </server>
23  <name>
24 HTTP HEAD with Connection: close
25  </name>
26  <command>
27 http://%HOSTIP:%HTTPPORT/want/14 -i --head
28 </command>
29 </client>
31 # Verify data after the test has been "shot"
32 <verify>
33 <strip>
34 ^User-Agent:.*
35 </strip>
36 <protocol>
37 HEAD /want/14 HTTP/1.1\r
38 User-Agent: curl/7.4.2-pre4 (sparc-sun-solaris2.7) libcurl 7.4.2-pre4\r
39 Host: %HOSTIP:%HTTPPORT\r
40 Accept: */*\r
42 </protocol>
43 </verify>
44 </testcase>