repo.or.cz
/
git
/
mingw.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
t5550: test display of remote http error messages
[git/mingw.git]
/
t
/
lib-httpd
/
error.sh
blob
786f2816bb66b6dc21c593f861365924d0d1ecf1
1
#!/bin/sh
2
3
printf
"Status: 500 Intentional Breakage
\n
"
4
5
printf
"Content-Type: "
6
case
"
$PATH_INFO
"
in
7
*
html
*)
8
printf
"text/html"
9
;;
10
*
text
*)
11
printf
"text/plain"
12
;;
13
esac
14
printf
"
\n
"
15
16
printf
"
\n
"
17
printf
"this is the error message
\n
"