summaryrefslogtreecommitdiffstats
path: root/tests/auto/qabstractnetworkcache/tests/httpcachetest_expires500.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qabstractnetworkcache/tests/httpcachetest_expires500.cgi')
-rwxr-xr-xtests/auto/qabstractnetworkcache/tests/httpcachetest_expires500.cgi11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qabstractnetworkcache/tests/httpcachetest_expires500.cgi b/tests/auto/qabstractnetworkcache/tests/httpcachetest_expires500.cgi
new file mode 100755
index 0000000000..9615c4f0bd
--- /dev/null
+++ b/tests/auto/qabstractnetworkcache/tests/httpcachetest_expires500.cgi
@@ -0,0 +1,11 @@
+#!/bin/bash
+if [ ! -z ${HTTP_IF_MODIFIED_SINCE} ] ; then
+ echo "Status: 500"
+ echo ""
+ exit;
+fi
+
+echo "Expires: Mon, 30 Oct 2028 14:19:41 GMT"
+echo "Content-type: text/html";
+echo ""
+echo "Hello World!"