net.http: Don't log content from server

Thu, 15 Jan 2009 04:10:06 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 15 Jan 2009 04:10:06 +0000
changeset 720
8f22e9fb2291
parent 719
b1eb112478b8
child 721
51233a8ae3d4

net.http: Don't log content from server

net/http.lua file | annotate | diff | comparison | revisions
--- 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";
 	

mercurial