1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6If-Modified-Since 7-z 8</keywords> 9</info> 10# 11# Server-side 12<reply> 13<data nocheck="yes"> 14HTTP/1.1 200 OK 15Server: test-server/fake 16Last-Modified: Tue, 13 Jun 1990 12:10:00 GMT 17ETag: "21025-dc7-39462498" 18Accept-Ranges: bytes 19Content-Length: 6 20Connection: close 21Content-Type: text/html 22Funny-head: yesyes 23 24-foo- 25</data> 26<datacheck> 27HTTP/1.1 200 OK 28Server: test-server/fake 29Last-Modified: Tue, 13 Jun 1990 12:10:00 GMT 30ETag: "21025-dc7-39462498" 31Accept-Ranges: bytes 32Content-Length: 6 33Connection: close 34Content-Type: text/html 35Funny-head: yesyes 36 37</datacheck> 38</reply> 39 40# 41# Client-side 42<client> 43<server> 44http 45</server> 46<name> 47HTTP GET -o fname without Content-Disposition (unmet time condition) 48</name> 49<file name="%LOGDIR/outfile%TESTNUMBER"> 50original contents 51</file> 52<command option="no-output,no-include"> 53http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "dec 12 11:00:00 1999 GMT" -o %LOGDIR/outfile%TESTNUMBER 54</command> 55</client> 56 57# 58# Verify data after the test has been "shot" 59<verify> 60<protocol> 61GET /%TESTNUMBER HTTP/1.1 62Host: %HOSTIP:%HTTPPORT 63User-Agent: curl/%VERSION 64Accept: */* 65If-Modified-Since: Sun, 12 Dec 1999 11:00:00 GMT 66 67</protocol> 68 69<file1 name="%LOGDIR/outfile%TESTNUMBER"> 70original contents 71</file1> 72 73</verify> 74</testcase> 75