plugins/mod_httpserver.lua
changeset 2776 bdca5025fb46
parent 2774 55ec6991c1a8
child 2785 08e0659ba1f2
equal deleted inserted replaced
2775:72b31799b0cb 2776:bdca5025fb46
    21 local mime_map = {
    21 local mime_map = {
    22 	html = "text/html";
    22 	html = "text/html";
    23 	htm = "text/html";
    23 	htm = "text/html";
    24 	xml = "text/xml";
    24 	xml = "text/xml";
    25 	xsl = "text/xml";
    25 	xsl = "text/xml";
    26 	txt = "plain/text; charset=utf-8";
    26 	txt = "text/plain; charset=utf-8";
    27 	js = "text/javascript";
    27 	js = "text/javascript";
    28 	css = "text/css";
    28 	css = "text/css";
    29 };
    29 };
    30 
    30 
    31 local function preprocess_path(path)
    31 local function preprocess_path(path)