From bdd87a4d54703b8f6e3844afd32ba88926e68d58 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Sun, 2 Jul 2023 23:44:48 -0400 Subject: status header --- examples/body.sh | 2 -- examples/command.sh | 3 --- examples/headers.sh | 4 +--- 3 files changed, 1 insertion(+), 8 deletions(-) (limited to 'examples') diff --git a/examples/body.sh b/examples/body.sh index bf671df..afb98c2 100755 --- a/examples/body.sh +++ b/examples/body.sh @@ -6,5 +6,3 @@ printf "\n" # the body of any http request made will be stored in stdin cat - -exit 200 diff --git a/examples/command.sh b/examples/command.sh index 64e159b..5c31058 100755 --- a/examples/command.sh +++ b/examples/command.sh @@ -5,6 +5,3 @@ printf "\n" neofetch - -exit 200 - diff --git a/examples/headers.sh b/examples/headers.sh index 32c7a53..2907ab0 100755 --- a/examples/headers.sh +++ b/examples/headers.sh @@ -3,9 +3,7 @@ # print headers that will be returned printf "Content-Type: text/plain\n" printf "aaaaaaaa: AAAAAAAAAA\n" +printf "Status: 418\n" # return 418 im a teapot printf "\n" printf "joe\n" - -# return http code 200 -exit 200 -- cgit v1.2.3-freya