summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2013-02-19 18:13:32 -0600
committerstanley lieber <stanley.lieber@gmail.com>2013-02-19 18:13:32 -0600
commit40dee61f919ca3941267623cb1ce399123ca19e5 (patch)
tree32330a7e3eae57ba0c4fa3eca213d34e4742224e
parent00ba1aac9ed4df13a9880ad63a4291a953d53752 (diff)
downloadplan9front-40dee61f919ca3941267623cb1ce399123ca19e5.tar.xz
rc-httpd/handlers/serve-static: charset=utf-8
-rwxr-xr-xrc/bin/rc-httpd/handlers/serve-static2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/rc-httpd/handlers/serve-static b/rc/bin/rc-httpd/handlers/serve-static
index 3f7544286..315621463 100755
--- a/rc/bin/rc-httpd/handlers/serve-static
+++ b/rc/bin/rc-httpd/handlers/serve-static
@@ -24,7 +24,7 @@ if not
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