Debian Codegraph @

curl/tests/data/test249

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