Diff

net/http.lua @ 720:8f22e9fb2291

net.http: Don't log content from server
author Matthew Wild <mwild1@gmail.com>
date Thu, 15 Jan 2009 04:10:06 +0000
parent 719:b1eb112478b8
child 738:cf70342985df
line wrap: on
line diff
--- a/net/http.lua	Thu Jan 15 04:08:06 2009 +0000
+++ b/net/http.lua	Thu Jan 15 04:10:06 2009 +0000
@@ -170,7 +170,7 @@
 		req.write(body);
 	end
 	
-	req.callback = function (content, code, request) log("debug", "Calling callback, code %s content: %s", code or "---", content or "---"); return select(2, xpcall(function () return callback(content, code, request) end, handleerr)); end
+	req.callback = function (content, code, request) log("debug", "Calling callback, status %s", code or "---"); return select(2, xpcall(function () return callback(content, code, request) end, handleerr)); end
 	req.reader = request_reader;
 	req.state = "status";