# HG changeset patch # User Matthew Wild # Date 1250016038 -3600 # Node ID 33b1aee4b77f8e9e273611427952f6a7db4c74ca # Parent ae2f60a20428c6b366b3aa5eb8cdc5bc2c2d7505 net.httpserver: Don't log response bodies! diff -r ae2f60a20428 -r 33b1aee4b77f net/httpserver.lua --- a/net/httpserver.lua Mon Aug 10 15:46:34 2009 +0100 +++ b/net/httpserver.lua Tue Aug 11 19:40:38 2009 +0100 @@ -61,7 +61,7 @@ end else -- Response we have is just a string (the body) - log("debug", "Sending response to %s: %s", request.id or "", response or ""); + log("debug", "Sending 200 response to %s", request.id or ""); resp = { "HTTP/1.0 200 OK\r\n" }; t_insert(resp, "Connection: close\r\n");