aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-15 04:10:06 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-15 04:10:06 +0000
commitb0f1c38d96f870b60260792b5d2e090f0f982d0f (patch)
tree23320c32fcb9f8fd04cb3ff67688f03a939f1c4c /net/http.lua
parent661b30bfc70217b74f21182ac708befae93cfaf0 (diff)
downloadprosody-b0f1c38d96f870b60260792b5d2e090f0f982d0f.tar.gz
prosody-b0f1c38d96f870b60260792b5d2e090f0f982d0f.zip
net.http: Don't log content from server
Diffstat (limited to 'net/http.lua')
-rw-r--r--net/http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http.lua b/net/http.lua
index 0da28f2e..5472f56a 100644
--- a/net/http.lua
+++ b/net/http.lua
@@ -170,7 +170,7 @@ function request(u, ex, callback)
req.write(body);
end
- req.callback = function (content, code, request) log("debug", "Calling callback, code %s content: %s", code or "---", content or "---"); return select(2, xpcall(function () return callback(content, code, request) end, handleerr)); end
+ req.callback = function (content, code, request) log("debug", "Calling callback, status %s", code or "---"); return select(2, xpcall(function () return callback(content, code, request) end, handleerr)); end
req.reader = request_reader;
req.state = "status";