svn path=/trunk/; revision=34
suffix[css]="text/css"
if [ -x "$file" -o \! -r "$file" -o \! -f "$file" ]; then
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
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")}"
else
length="$(stat -c %s "$file")"
magic="${suffix[${file##*.}]:-$(file -bi "$file")}"