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