Software /
code /
prosody
Changeset
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 |
parents | 1051:0327c569eb1a |
children | 1053:c04b40a0740b |
files | net/httpserver.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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