aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-23 21:04:07 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-23 21:04:07 +0100
commit37db6110c31027f22f3a5eef3730762690ebb446 (patch)
treef1ae3f3850ff06d3acb09659b102b27065275f88 /net
parent82a3b3c3eb6213890f9b2b97b32378655f022ff9 (diff)
downloadprosody-37db6110c31027f22f3a5eef3730762690ebb446.tar.gz
prosody-37db6110c31027f22f3a5eef3730762690ebb446.zip
net.httpserver: Don't log the response body (can be binary data...)
Diffstat (limited to 'net')
-rw-r--r--net/httpserver.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/httpserver.lua b/net/httpserver.lua
index b16e7f3a..db0cbc3e 100644
--- a/net/httpserver.lua
+++ b/net/httpserver.lua
@@ -30,7 +30,7 @@ local function send_response(request, response)
-- Write status line
local resp;
if response.body then
- log("debug", "Sending response to %s: %s", request.id, response.body);
+ log("debug", "Sending response to %s", request.id);
resp = { "HTTP/1.0 ", response.status or "200 OK", "\r\n"};
local h = response.headers;
if h then