Thu, 23 Apr 2009 21:04:07 +0100
net.httpserver: Don't log the response body (can be binary data...)
net/httpserver.lua | file | annotate | diff | comparison | revisions |
--- a/net/httpserver.lua Thu Apr 23 21:03:24 2009 +0100 +++ b/net/httpserver.lua Thu Apr 23 21:04:07 2009 +0100 @@ -30,7 +30,7 @@ -- 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