aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_httpserver.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-12-10 16:52:08 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-12-10 16:52:08 +0500
commit7fa4ee73e2c8265daf4cf7a8b0364258c1d8532c (patch)
treecbe08f1ec4a1d29cbf44d7e4e27c7732ba6d84b0 /plugins/mod_httpserver.lua
parentc7fa0dd97ed2d133d4182b12a0c4a21f66b77fe4 (diff)
downloadprosody-7fa4ee73e2c8265daf4cf7a8b0364258c1d8532c.tar.gz
prosody-7fa4ee73e2c8265daf4cf7a8b0364258c1d8532c.zip
mod_httpserver: Text files are text/plain, and not plain/text.
Diffstat (limited to 'plugins/mod_httpserver.lua')
-rw-r--r--plugins/mod_httpserver.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_httpserver.lua b/plugins/mod_httpserver.lua
index 13795484..1cdcc787 100644
--- a/plugins/mod_httpserver.lua
+++ b/plugins/mod_httpserver.lua
@@ -23,7 +23,7 @@ local mime_map = {
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";
};