Changeset

1661:33b1aee4b77f

net.httpserver: Don't log response bodies!
author Matthew Wild <mwild1@gmail.com>
date Tue, 11 Aug 2009 19:40:38 +0100
parents 1660:ae2f60a20428
children 1662:b31ea419dff5
files net/httpserver.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 "<none>", response or "<none>");
+		log("debug", "Sending 200 response to %s", request.id or "<none>");
 		
 		resp = { "HTTP/1.0 200 OK\r\n" };
 		t_insert(resp, "Connection: close\r\n");