]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test14
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test14
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK
5 Server: thebest/1.0
6 Connection: close
7
8 </data>
9 </reply>
10
11 # Client-side
12 <client>
13 <server>
14 http
15 </server>
16  <name>
17 HTTP HEAD with Connection: close
18  </name>
19  <command>
20 http://%HOSTIP:%HOSTPORT/want/14 -i --head
21 </command>
22 </test>
23
24 # Verify data after the test has been "shot"
25 <verify>
26 <strip>
27 ^User-Agent:.*
28 </strip>
29 <protocol>
30 HEAD /want/14 HTTP/1.1
31 User-Agent: curl/7.4.2-pre4 (sparc-sun-solaris2.7) libcurl 7.4.2-pre4
32 Host: 127.0.0.1:8999
33 Pragma: no-cache
34 Accept: */*
35
36 </protocol>
37 </verify>