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