qt6windows7/tests/testserver/apache2/testdata/www/cgi-bin/httpcachetest_expires304.cgi

12 lines
242 B
Plaintext
Raw Normal View History

2023-10-30 06:33:08 +08:00
#!/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!"