From 481cf3879012bf51152ab31eb8cee58ca15305f6 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 20 Nov 2023 14:00:05 +0900 Subject: [PATCH] added t/t-cgi.sh --- t/t-cgi.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 t/t-cgi.sh 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"