# HG changeset patch # User Matthew Wild # Date 1231992606 0 # Node ID 8f22e9fb229143cd9fbec033415158e4efc5a6ef # Parent b1eb112478b866871cdc835210725e1644129f6e net.http: Don't log content from server diff -r b1eb112478b8 -r 8f22e9fb2291 net/http.lua --- a/net/http.lua Thu Jan 15 04:08:06 2009 +0000 +++ b/net/http.lua Thu Jan 15 04:10:06 2009 +0000 @@ -170,7 +170,7 @@ 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";