Software /
code /
prosody
Diff
plugins/mod_httpserver.lua @ 2359:0bed4af40bff
mod_httpserver: Removed a log message.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 10 Dec 2009 16:34:38 +0500 |
parent | 2358:e05934a5c911 |
child | 2361:926905cb777f |
line wrap: on
line diff
--- a/plugins/mod_httpserver.lua Thu Dec 10 16:27:17 2009 +0500 +++ b/plugins/mod_httpserver.lua Thu Dec 10 16:34:38 2009 +0500 @@ -53,7 +53,6 @@ f:close(); local ext = path:match("%.([^.]*)$"); local mime = mime_map[ext]; -- Content-Type should be nil when not known - module:log("warn", "ext: %s, mime: %s", ext or "(nil)", mime or "(nil)"); return { headers = { ["Content-Type"] = mime; }; body = data;