diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-15 04:10:06 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-15 04:10:06 +0000 |
commit | b0f1c38d96f870b60260792b5d2e090f0f982d0f (patch) | |
tree | 23320c32fcb9f8fd04cb3ff67688f03a939f1c4c | |
parent | 661b30bfc70217b74f21182ac708befae93cfaf0 (diff) | |
download | prosody-b0f1c38d96f870b60260792b5d2e090f0f982d0f.tar.gz prosody-b0f1c38d96f870b60260792b5d2e090f0f982d0f.zip |
net.http: Don't log content from server
-rw-r--r-- | net/http.lua | 2 |
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"; |