mod_http_logging/mod_http_logging.lua
changeset 2167 88fec2b2bd58
parent 1887 c625ed20ebda
child 2969 557c976735e1
--- a/mod_http_logging/mod_http_logging.lua	Sat Apr 16 14:43:06 2016 +0200
+++ b/mod_http_logging/mod_http_logging.lua	Sat Apr 16 20:21:13 2016 +0200
@@ -25,7 +25,7 @@
 		local date = os.date("%d/%m/%Y:%H:%M:%S %z");
 		module:log("info", "%s - - [%s] \"%s\" %d %s", ip, date, req, response.status_code, tostring(len));
 	end
-	return server.send_response(response, body);
+	return send_response(response, body);
 end
 
 if module.wrap_object_event then