Mercurial Hosting > luan
diff src/luan/modules/http/tools/Dump_mod.luan @ 1165:668f29bc52ea
clean up content-type
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 07 Feb 2018 23:16:12 -0700 |
parents | 4beabb087be6 |
children |
line wrap: on
line diff
--- a/src/luan/modules/http/tools/Dump_mod.luan Wed Feb 07 17:36:38 2018 -0700 +++ b/src/luan/modules/http/tools/Dump_mod.luan Wed Feb 07 23:16:12 2018 -0700 @@ -9,7 +9,7 @@ local Dump_mod = {} function Dump_mod.respond() - Http.response.headers["content-type"] = "text/plain" + Http.response.headers["content-type"] = "text/plain; charset=utf-8" Io.stdout = Http.response.text_writer() local method = Http.request.method