From 3e2370b5f1d5993c8380a044e9207c9aa94f11ed Mon Sep 17 00:00:00 2001 From: Sean Mc Allister Date: Tue, 11 Oct 2016 17:09:34 +0200 Subject: [PATCH] log full uri for http response --- daphne/http_protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daphne/http_protocol.py b/daphne/http_protocol.py index d44e9f2..d998ac1 100755 --- a/daphne/http_protocol.py +++ b/daphne/http_protocol.py @@ -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,