about summary refs log tree commit diff
path: root/third_party/git/t/lib-httpd/error.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/lib-httpd/error.sh')
-rwxr-xr-xthird_party/git/t/lib-httpd/error.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/third_party/git/t/lib-httpd/error.sh b/third_party/git/t/lib-httpd/error.sh
deleted file mode 100755
index a77b8e546926..000000000000
--- a/third_party/git/t/lib-httpd/error.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-printf "Status: 500 Intentional Breakage\n"
-
-printf "Content-Type: "
-charset=iso-8859-1
-case "$PATH_INFO" in
-*html*)
-	printf "text/html"
-	;;
-*text*)
-	printf "text/plain"
-	;;
-*charset*)
-	printf "text/plain; charset=utf-8"
-	charset=utf-8
-	;;
-*utf16*)
-	printf "text/plain; charset=utf-16"
-	charset=utf-16
-	;;
-*odd-spacing*)
-	printf "text/plain; foo=bar ;charset=utf-16; other=nonsense"
-	charset=utf-16
-	;;
-esac
-printf "\n"
-
-printf "\n"
-printf "this is the error message\n" |
-iconv -f us-ascii -t $charset