summaryrefslogtreecommitdiff
path: root/rc/bin/rc-httpd
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/rc-httpd')
-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