Software /
code /
prosody
Diff
plugins/mod_httpserver.lua @ 2776:bdca5025fb46
mod_httpserver: Text files are text/plain, and not plain/text.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 10 Dec 2009 16:52:08 +0500 |
parent | 2774:55ec6991c1a8 |
child | 2785:08e0659ba1f2 |
line wrap: on
line diff
--- a/plugins/mod_httpserver.lua Thu Dec 10 16:36:33 2009 +0500 +++ b/plugins/mod_httpserver.lua Thu Dec 10 16:52:08 2009 +0500 @@ -23,7 +23,7 @@ htm = "text/html"; xml = "text/xml"; xsl = "text/xml"; - txt = "plain/text; charset=utf-8"; + txt = "text/plain; charset=utf-8"; js = "text/javascript"; css = "text/css"; };