Software /
code /
prosody
Diff
net/httpserver.lua @ 1438:f02a5a982fac
Merged with trunk
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 28 Jun 2009 21:32:19 +0500 (2009-06-28) |
parent | 1435:7a073b0a8f6a |
child | 1522:569d58d21612 |
line wrap: on
line diff
--- a/net/httpserver.lua Sun Jun 28 21:29:39 2009 +0500 +++ b/net/httpserver.lua Sun Jun 28 21:32:19 2009 +0500 @@ -52,7 +52,7 @@ end else -- Response we have is just a string (the body) - log("debug", "Sending response to %s: %s", request.id, response); + log("debug", "Sending response to %s: %s", request.id or "<none>", response or "<none>"); resp = { "HTTP/1.0 200 OK\r\n" }; t_insert(resp, "Connection: close\r\n");