Git init
[external/curl.git] / tests / data / test249
1 <testcase>
2 #
3 # Server-side
4 <reply>
5 <data>
6 HTTP/1.1 304 Not Modified swsclose
7 Date: Thu, 09 Nov 2010 14:49:00 GMT
8 Server: test-server/fake
9 Last-Modified: Tue, 13 Jun 1910 12:10:00 GMT
10 ETag: "21025-dc7-39462498"
11 Accept-Ranges: bytes
12 Content-Length: 677777
13 Connection: close
14 Content-Type: text/html
15
16 </data>
17 </reply>
18
19 #
20 # Client-side
21 <client>
22 <server>
23 http
24 </server>
25  <name>
26 HTTP 304 response with "illegal" Content-Length: header
27  </name>
28  <command>
29 http://%HOSTIP:%HTTPPORT/249 -z "dec 12 12:00:00 1999 GMT"
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 /249 HTTP/1.1\r
41 Host: %HOSTIP:%HTTPPORT\r
42 Accept: */*\r
43 If-Modified-Since: Sun, 12 Dec 1999 12:00:00 GMT\r
44 \r
45 </protocol>
46 </verify>
47 </testcase>