exports.mine = {
    "css": "text/css; charset=UTF-8",
    "gif": "image/gif",
    "htm": "text/html; charset=UTF-8",
    "html": "text/html; charset=UTF-8",
    "ico": "image/x-icon",
    "jpeg": "image/jpeg",
    "jpg": "image/jpeg",
    "js": "text/javascript; charset=UTF-8",
    "json": "application/json; charset=UTF-8",
    "pdf": "application/pdf",
    "png": "image/png",
    "svg": "image/svg+xml",
    "swf": "application/x-shockwave-flash",
    "tiff": "image/tiff",
    "tpl": "text/html; charset=UTF-8",
    "txt": "text/plain; charset=UTF-8",
    "wav": "audio/x-wav",
    "wma": "audio/x-ms-wma",
    "wmv": "video/x-ms-wmv",
    "xml": "text/xml",
    "app": 'application/octet-stream'
};
exports.tplext = [ "html", "htm", "tpl" ];

exports.config = {
    "port": {
        "info": "监听端口（默认值：8000）：",
        "def": 8000,
        "type": "number"
    },
    "default_page": {
        "info": "目录默认浏览的文件（默认值：index.html）：",
        "def": "index.html",
        "type": "string"
    },
    "default_ext": {
        "info": "目录默认浏览的文件格式（默认值：html）：",
        "def": "html",
        "type": "string"
    },
    "relative_path": {
        "info": "静态文件存放的相对路径（默认值：wwwroot）：",
        "def": "wwwroot",
        "type": "string"
    },
    "is_show_path_file": {
        "info": "当文件不存在时是否显示目录的文件列表（默认值：false）（y/n）：",
        "def": false,
        "type": "boolean"
    },
    "parse_smarty": {
        "info": "是否对模板进行smarty编译（默认值：true）（y/n）：",
        "def": true,
        "type": "boolean"
    },
    "left_delimiter": {
        "info": "smarty左侧界定符（默认值：{{）：",
        "def": "{{",
        "type": "string"
    },
    "right_delimiter": {
        "info": "smarty右侧界定符（默认值：}}）：",
        "def": "}}",
        "type": "string"
    }
};