diff options
author | Tyler Murphy <tylerm@tylerm.dev> | 2023-07-02 23:44:48 -0400 |
---|---|---|
committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-07-02 23:44:48 -0400 |
commit | bdd87a4d54703b8f6e3844afd32ba88926e68d58 (patch) | |
tree | 33bc98f3e1822cbb659cd8f31f59f78fad4b9338 /examples/headers.sh | |
parent | move body to stdin (diff) | |
download | bashttp-bdd87a4d54703b8f6e3844afd32ba88926e68d58.tar.gz bashttp-bdd87a4d54703b8f6e3844afd32ba88926e68d58.tar.bz2 bashttp-bdd87a4d54703b8f6e3844afd32ba88926e68d58.zip |
status header
Diffstat (limited to 'examples/headers.sh')
-rwxr-xr-x | examples/headers.sh | 4 |
1 files changed, 1 insertions, 3 deletions
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 |