diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/body.sh | 2 | ||||
-rwxr-xr-x | examples/command.sh | 3 | ||||
-rwxr-xr-x | examples/headers.sh | 4 |
3 files changed, 1 insertions, 8 deletions
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 |