Debian Codegraph @

curl/tests/data/test77

raw
1 <info>
2 <keywords>
3 HTTP
4 HTTP GET
5 -z
6 </keywords>
7 </info>
8 #
9 # Server-side
10 <reply>
11 <data>
12 HTTP/1.1 200 OK
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Server: test-server/fake
15 Last-Modified: Tue, 13 Jun 2010 12:10:00 GMT
16 ETag: "21025-dc7-39462498"
17 Accept-Ranges: bytes
18 Content-Length: 6
19 Connection: close
20 Content-Type: text/html
21
22 <foo>
23 </data>
24 </reply>
25
26 #
27 # Client-side
28 <client>
29 <server>
30 http
31 </server>
32 <name>
33 HTTP with -z "older date"
34 </name>
35 <command>
36 http://%HOSTIP:%HTTPPORT/77 -z "dec 12 12:00:00 1999 GMT"
37 </command>
38 </client>
39
40 #
41 # Verify data after the test has been "shot"
42 <verify>
43 <strip>
44 ^User-Agent:.*
45 </strip>
46 <protocol>
47 GET /77 HTTP/1.1
48 Host: 127.0.0.1:%HTTPPORT
49 Accept: */*
50 If-Modified-Since: Sun, 12 Dec 1999 12:00:00 GMT
51
52 </protocol>
53 </verify>