diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2013-08-14 13:03:12 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> | 2015-11-02 11:49:52 +0100 |
commit | a4d0a12fd09707ed44d5fcf5349216a6a73403de (patch) | |
tree | db36afa7e0db8141fb1dfc76081f1790e1867c5c /tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_cachecontrol200.cgi | |
parent | 44a2eae47455fe18216ead8299f027050da11408 (diff) |
Add network test server Vagrant config and Puppet scripts
Change-Id: I5385306f2e8ae44c4b10251ca7ee1914b9fc7bbe
Diffstat (limited to 'tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_cachecontrol200.cgi')
-rwxr-xr-x | tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_cachecontrol200.cgi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_cachecontrol200.cgi b/tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_cachecontrol200.cgi new file mode 100755 index 0000000000..e44d5ed570 --- /dev/null +++ b/tests/auto/network/support/modules/network_test_server/files/www/cgi-bin/httpcachetest_cachecontrol200.cgi @@ -0,0 +1,9 @@ +#!/bin/bash +cc=`echo "${QUERY_STRING}" | sed -e s/%20/\ /g` +echo "Status: 200" +echo "Cache-Control: $cc" +echo "Last-Modified: Sat, 31 Oct 1981 06:00:00 GMT" +echo "Content-type: text/html"; +echo "X-Script: $0" +echo "" +echo "Hello World!" |