t5550: test display of remote http error messages
[git/mingw.git] / t / lib-httpd / error.sh
blob786f2816bb66b6dc21c593f861365924d0d1ecf1
1 #!/bin/sh
3 printf "Status: 500 Intentional Breakage\n"
5 printf "Content-Type: "
6 case "$PATH_INFO" in
7 *html*)
8 printf "text/html"
9 ;;
10 *text*)
11 printf "text/plain"
13 esac
14 printf "\n"
16 printf "\n"
17 printf "this is the error message\n"