mod_httpserver: Text files are text/plain, and not plain/text.

Thu, 10 Dec 2009 16:52:08 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Thu, 10 Dec 2009 16:52:08 +0500
changeset 2776
bdca5025fb46
parent 2775
72b31799b0cb
child 2777
a0ea72846b46

mod_httpserver: Text files are text/plain, and not plain/text.

plugins/mod_httpserver.lua file | annotate | diff | comparison | revisions
--- 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";
 };

mercurial