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