Software /
code /
prosody
Diff
net/httpserver.lua @ 1661:33b1aee4b77f
net.httpserver: Don't log response bodies!
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 11 Aug 2009 19:40:38 +0100 |
parent | 1632:4a70cbb0fad7 |
child | 1666:d1243b321c45 |
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");