projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
208b588
)
mod_httpserver: Removed a log message.
author
Waqas Hussain
<waqas20@gmail.com>
Thu, 10 Dec 2009 11:34:38 +0000
(16:34 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Thu, 10 Dec 2009 11:34:38 +0000
(16:34 +0500)
plugins/mod_httpserver.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_httpserver.lua
b/plugins/mod_httpserver.lua
index 426bbf2c548a1ea54564f09a12b4a670bfc173e0..13795484fc0e512a601735ed5634548fbc6a2d78 100644
(file)
--- a/
plugins/mod_httpserver.lua
+++ b/
plugins/mod_httpserver.lua
@@
-53,7
+53,6
@@
function serve_file(path)
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;