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

12 lines
248 B
Plaintext
Raw Normal View History

2023-10-30 06:33:08 +08:00
#!/bin/bash
if [ ${HTTP_IF_MODIFIED_SINCE} == "Sat, 31 Oct 1981 06:00:00 GMT" ] ; then
echo "Status: 304"
echo ""
exit;
fi
echo "Last-Modified: Sat, 31 Oct 1981 06:00:00 GMT"
echo "Content-type: text/html";
echo ""
echo "Hello World!"