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