diff --git a/t/t-cgi.sh b/t/t-cgi.sh new file mode 100644 index 0000000..c40aab8 --- /dev/null +++ b/t/t-cgi.sh @@ -0,0 +1,9 @@ +#!/bin/sh +echo -n -e "Content-type: text/plain\r\n\r\n" + +echo "REQUEST_METHOD:$REQUEST_METHOD" +echo "REQUEST_URI:$REQUEST_URI" +echo "QUERY_STRING:$QUERY_STRING" +echo "REMOTE_ADDR:$REMOTE_ADDR" +echo "REMOTE_PORT:$REMOTE_PORT" +echo "CONTENT_LENGTH:$CONTENT_LENGTH"