From 0678b538a6d0f56a629a8e4dd9ef6e7665b14208 Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 6 Oct 2016 21:28:16 +0000 Subject: [PATCH] use CRLF line breaks svn path=/trunk/; revision=34 --- static.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static.sh b/static.sh index 153cce0..e8de7d1 100755 --- a/static.sh +++ b/static.sh @@ -28,9 +28,9 @@ declare -A suffix suffix[css]="text/css" if [ -x "$file" -o \! -r "$file" -o \! -f "$file" ]; then - printf 'HTTP/1.1 403 Forbidden\n\n' + printf 'HTTP/1.1 403 Forbidden\r\n\r\n' elif [ "$date" = "$HTTP_IF_NONE_MATCH" ]; then - printf 'HTTP/1.1 304 Not Modified\n\n' + printf 'HTTP/1.1 304 Not Modified\r\n\r\n' else length="$(stat -c %s "$file")" magic="${suffix[${file##*.}]:-$(file -bi "$file")}" -- 2.39.2