Debian Codegraph @

curl/tests/data/test514

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