diff options
Diffstat (limited to 'tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires500.cgi')
-rwxr-xr-x | tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires500.cgi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires500.cgi b/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_expires500.cgi new file mode 100755 index 0000000000..9615c4f0bd --- /dev/null +++ b/tests/auto/network/access/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!" |