Debian Codegraph @

curl/tests/data/test14

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