mod_httpserver: Text files are text/plain, and not plain/text.
authorWaqas Hussain <waqas20@gmail.com>
Thu, 10 Dec 2009 11:52:08 +0000 (16:52 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Thu, 10 Dec 2009 11:52:08 +0000 (16:52 +0500)
plugins/mod_httpserver.lua

index 13795484fc0e512a601735ed5634548fbc6a2d78..1cdcc78788413fad6f3350d42b5f46b7a2394f58 100644 (file)
@@ -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";
 };