rc-httpd/handlers/serve-static: charset=utf-8

This commit is contained in:
stanley lieber 2013-02-19 18:13:32 -06:00
parent 00ba1aac9e
commit 40dee61f91

View file

@ -24,7 +24,7 @@ if not
max_age=604800 # 1 week max_age=604800 # 1 week
echo 'HTTP/1.1 200 OK'^$cr echo 'HTTP/1.1 200 OK'^$cr
emit_extra_headers emit_extra_headers
echo 'Content-type: '^$type^$cr echo 'Content-type: '^$type^'; charset=utf-8'^$cr
echo 'Cache-control: max-age='^$max_age^$cr echo 'Cache-control: max-age='^$max_age^$cr
echo $cr echo $cr
exec cat $full_path exec cat $full_path