ref: 40dee61f919ca3941267623cb1ce399123ca19e5
parent: 00ba1aac9ed4df13a9880ad63a4291a953d53752
author: stanley lieber <stanley.lieber@gmail.com>
date: Tue Feb 19 13:13:32 EST 2013
rc-httpd/handlers/serve-static: charset=utf-8
--- a/rc/bin/rc-httpd/handlers/serve-static
+++ b/rc/bin/rc-httpd/handlers/serve-static
@@ -24,7 +24,7 @@
max_age=604800 # 1 week
echo 'HTTP/1.1 200 OK'^$cr
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 $cr
exec cat $full_path
--
⑨