]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test77
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test77
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 2010 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
15 <foo>
16 </data>
17 </reply>
18
19 #
20 # Client-side
21 <client>
22 <server>
23 http
24 </server>
25  <name>
26 HTTP with -z "older date"
27  </name>
28  <command>
29 http://%HOSTIP:%HOSTPORT/77 -z "1999-12-12 12:00:00 MET"
30 </command>
31 </client>
32
33 #
34 # Verify data after the test has been "shot"
35 <verify>
36 <strip>
37 ^User-Agent:.*
38 </strip>
39 <protocol>
40 GET /77 HTTP/1.1
41 Host: 127.0.0.1:8999
42 Pragma: no-cache
43 Accept: */*
44 If-Modified-Since: Sun, 12 Dec 1999 11:00:00 GMT
45
46 </protocol>
47 </verify>