diff options
Diffstat (limited to 'tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_expires500.cgi')
-rwxr-xr-x | tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_expires500.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_expires500.cgi b/tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_expires500.cgi index 9615c4f0bd..295d554bac 100755 --- a/tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_expires500.cgi +++ b/tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_expires500.cgi @@ -1,11 +1,11 @@ #!/bin/bash -if [ ! -z ${HTTP_IF_MODIFIED_SINCE} ] ; then +if [ ! -z "${HTTP_IF_MODIFIED_SINCE}" ] ; then echo "Status: 500" echo "" - exit; + exit fi echo "Expires: Mon, 30 Oct 2028 14:19:41 GMT" -echo "Content-type: text/html"; +echo "Content-type: text/html" echo "" echo "Hello World!" |