diff options
Diffstat (limited to 'tests/auto/qhttp/webserver/cgi-bin')
-rwxr-xr-x | tests/auto/qhttp/webserver/cgi-bin/retrieve_testfile.cgi | 6 | ||||
-rwxr-xr-x | tests/auto/qhttp/webserver/cgi-bin/rfc.cgi | 5 | ||||
-rwxr-xr-x | tests/auto/qhttp/webserver/cgi-bin/store_testfile.cgi | 6 |
3 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/qhttp/webserver/cgi-bin/retrieve_testfile.cgi b/tests/auto/qhttp/webserver/cgi-bin/retrieve_testfile.cgi new file mode 100755 index 0000000..7896c50 --- /dev/null +++ b/tests/auto/qhttp/webserver/cgi-bin/retrieve_testfile.cgi @@ -0,0 +1,6 @@ +#!/bin/sh + +echo "Content-type: text/plain"; +echo +cat testfile +echo "no file retrieved" > testfile diff --git a/tests/auto/qhttp/webserver/cgi-bin/rfc.cgi b/tests/auto/qhttp/webserver/cgi-bin/rfc.cgi new file mode 100755 index 0000000..c68688e --- /dev/null +++ b/tests/auto/qhttp/webserver/cgi-bin/rfc.cgi @@ -0,0 +1,5 @@ +#!/bin/sh + +echo "Content-type: text/plain"; +echo +cat ../rfc3252 diff --git a/tests/auto/qhttp/webserver/cgi-bin/store_testfile.cgi b/tests/auto/qhttp/webserver/cgi-bin/store_testfile.cgi new file mode 100755 index 0000000..e950f2a --- /dev/null +++ b/tests/auto/qhttp/webserver/cgi-bin/store_testfile.cgi @@ -0,0 +1,6 @@ +#!/bin/sh + +echo "Content-type: text/plain"; +echo +echo "file stored under 'testfile'" +cat > testfile |