diff options
Diffstat (limited to 'tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_lastModified304.cgi')
-rwxr-xr-x | tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_lastModified304.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_lastModified304.cgi b/tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_lastModified304.cgi index bdf23bed2f..fbf3461b57 100755 --- a/tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_lastModified304.cgi +++ b/tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_lastModified304.cgi @@ -1,11 +1,11 @@ #!/bin/bash -if [ ${HTTP_IF_MODIFIED_SINCE} == "Sat, 31 Oct 1981 06:00:00 GMT" ] ; then +if [ "${HTTP_IF_MODIFIED_SINCE}" == "Sat, 31 Oct 1981 06:00:00 GMT" ] ; then echo "Status: 304" echo "" - exit; + exit fi 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!" |