qt6windows7/tests/testserver/apache2/testdata/www/cgi-bin/httpcachetest_expires304.cgi
2023-10-29 23:33:08 +01:00

12 lines
242 B
Bash

#!/bin/bash
if [ ${HTTP_IF_MODIFIED_SINCE} == "Mon, 30 Oct 2028 14:19:41 GMT" ] ; then
echo "Status: 304"
echo ""
exit;
fi
echo "Expires: Mon, 30 Oct 2028 14:19:41 GMT"
echo "Content-type: text/html";
echo ""
echo "Hello World!"