summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi')
-rwxr-xr-xtests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi b/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi
new file mode 100755
index 0000000000..1c7de1cd77
--- /dev/null
+++ b/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires304.cgi
@@ -0,0 +1,11 @@
+#!/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!"