diff options
author | stanley lieber <stanley.lieber@gmail.com> | 2013-02-19 18:13:32 -0600 |
---|---|---|
committer | stanley lieber <stanley.lieber@gmail.com> | 2013-02-19 18:13:32 -0600 |
commit | 40dee61f919ca3941267623cb1ce399123ca19e5 (patch) | |
tree | 32330a7e3eae57ba0c4fa3eca213d34e4742224e /rc/bin/rc-httpd | |
parent | 00ba1aac9ed4df13a9880ad63a4291a953d53752 (diff) | |
download | plan9front-40dee61f919ca3941267623cb1ce399123ca19e5.tar.xz |
rc-httpd/handlers/serve-static: charset=utf-8
Diffstat (limited to 'rc/bin/rc-httpd')
-rwxr-xr-x | rc/bin/rc-httpd/handlers/serve-static | 2 |
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 |