mirror of
https://github.com/django/daphne.git
synced 2024-11-25 09:13:44 +03:00
Merge pull request #51 from mcallistersean/issue/50
log full uri for http response
This commit is contained in:
commit
5f6f14a8d1
|
@ -228,7 +228,7 @@ class WebRequest(http.Request):
|
|||
logger.debug("HTTP response complete for %s", self.reply_channel)
|
||||
try:
|
||||
self.factory.log_action("http", "complete", {
|
||||
"path": self.path.decode("ascii"),
|
||||
"path": self.uri.decode("ascii"),
|
||||
"status": self.code,
|
||||
"method": self.method.decode("ascii"),
|
||||
"client": "%s:%s" % tuple(self.client_addr) if self.client_addr else None,
|
||||
|
|
Loading…
Reference in New Issue
Block a user