# HG changeset patch # User Matthew Wild # Date 1240517047 -3600 # Node ID a3429542631d1b3d497ff5c7aafdbd3835466907 # Parent 0327c569eb1a5a723d3051eec2fbc53b1b45a2bd net.httpserver: Don't log the response body (can be binary data...) diff -r 0327c569eb1a -r a3429542631d net/httpserver.lua --- 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