Debian Codegraph @

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

raw
1 #!/bin/bash
2 if [ ! -z ${HTTP_IF_MODIFIED_SINCE} ] ; then
3 echo "Status: 304"
4 echo ""
5 exit;
6 fi
7
8 cc=`echo "${QUERY_STRING}" | sed -e s/%20/\ /g`
9 echo "Cache-Control: $cc"
10 echo "Last-Modified: Sat, 31 Oct 1981 06:00:00 GMT"
11 echo "Content-type: text/html";
12 echo ""
13 echo "Hello World!"