bashttp/examples/headers.sh

10 lines
195 B
Bash
Raw Normal View History

#!/bin/bash
# print headers that will be returned
printf "Content-Type: text/plain\n"
printf "aaaaaaaa: AAAAAAAAAA\n"
2023-07-03 03:44:48 +00:00
printf "Status: 418\n" # return 418 im a teapot
printf "\n"
printf "joe\n"