mirror of
https://github.com/django/daphne.git
synced 2024-11-21 23:46:33 +03:00
log full uri for http response
This commit is contained in:
parent
b537bed180
commit
3e2370b5f1
|
@ -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