Software /
code /
prosody
Diff
net/httpserver.lua @ 1052:a3429542631d
net.httpserver: Don't log the response body (can be binary data...)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 23 Apr 2009 21:04:07 +0100 |
parent | 958:172fb9a73017 |
child | 1053:c04b40a0740b |
line wrap: on
line diff
--- a/net/httpserver.lua Thu Apr 23 21:03:24 2009 +0100 +++ b/net/httpserver.lua Thu Apr 23 21:04:07 2009 +0100 @@ -30,7 +30,7 @@ -- Write status line local resp; if response.body then - log("debug", "Sending response to %s: %s", request.id, response.body); + log("debug", "Sending response to %s", request.id); resp = { "HTTP/1.0 ", response.status or "200 OK", "\r\n"}; local h = response.headers; if h then