From 37db6110c31027f22f3a5eef3730762690ebb446 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 23 Apr 2009 21:04:07 +0100 Subject: net.httpserver: Don't log the response body (can be binary data...) --- net/httpserver.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') 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 -- cgit v1.2.3