Debian Codegraph @

tests/testserver/apache2/testdata/www/cgi-bin/httpcachetest_lastModified304.cgi

raw
1 #!/bin/bash
2 if [ ${HTTP_IF_MODIFIED_SINCE} == "Sat, 31 Oct 1981 06:00:00 GMT" ] ; then
3 echo "Status: 304"
4 echo ""
5 exit;
6 fi
7
8 echo "Last-Modified: Sat, 31 Oct 1981 06:00:00 GMT"
9 echo "Content-type: text/html";
10 echo ""
11 echo "Hello World!"