summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_cachecontrol.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_cachecontrol.cgi')
-rwxr-xr-xtests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_cachecontrol.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_cachecontrol.cgi b/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_cachecontrol.cgi
index f2edfc161f..83b8c94b79 100755
--- a/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_cachecontrol.cgi
+++ b/tests/auto/network/access/qabstractnetworkcache/tests/httpcachetest_cachecontrol.cgi
@@ -1,13 +1,13 @@
#!/bin/bash
-if [ ! -z ${HTTP_IF_MODIFIED_SINCE} ] ; then
+if [ ! -z "${HTTP_IF_MODIFIED_SINCE}" ] ; then
echo "Status: 304"
echo ""
- exit;
+ exit
fi
cc=`echo "${QUERY_STRING}" | sed -e s/%20/\ /g`
echo "Cache-Control: $cc"
echo "Last-Modified: Sat, 31 Oct 1981 06:00:00 GMT"
-echo "Content-type: text/html";
+echo "Content-type: text/html"
echo ""
echo "Hello World!"