Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 </keywords>
      7 </info>
      8 #
      9 # Server-side
     10 <reply>
     11 <data>
     12 HTTP/1.1 304 Not Modified swsclose
     13 Date: Thu, 09 Nov 2010 14:49:00 GMT
     14 Server: test-server/fake
     15 Last-Modified: Tue, 13 Jun 1910 12:10:00 GMT
     16 ETag: "21025-dc7-39462498"
     17 Accept-Ranges: bytes
     18 Content-Length: 677777
     19 Connection: close
     20 Content-Type: text/html
     21 
     22 </data>
     23 </reply>
     24 
     25 #
     26 # Client-side
     27 <client>
     28 <server>
     29 http
     30 </server>
     31  <name>
     32 HTTP 304 response with "illegal" Content-Length: header
     33  </name>
     34  <command>
     35 http://%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>
     46 GET /249 HTTP/1.1
     47 Host: %HOSTIP:%HTTPPORT
     48 Accept: */*
     49 If-Modified-Since: Sun, 12 Dec 1999 12:00:00 GMT
     50 
     51 </protocol>
     52 </verify>
     53 </testcase>
     54