Show returned status code when _handle finishes
This commit is contained in:
parent
df3075ce27
commit
6c5a6ff9cd
1 changed files with 2 additions and 2 deletions
|
@ -95,8 +95,8 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
||||||
|
|
||||||
self._respond(code, headers, response)
|
self._respond(code, headers, response)
|
||||||
|
|
||||||
_log.debug("[HTTP] finishing _handle for %s from %s:%d",
|
_log.debug("[HTTP] finishing _handle for %s from %s:%d (%d)",
|
||||||
[method, self.client_address[0], self.client_address[1]])
|
[method, self.client_address[0], self.client_address[1]], code)
|
||||||
|
|
||||||
def do_GET(self):
|
def do_GET(self):
|
||||||
self._handle("GET")
|
self._handle("GET")
|
||||||
|
|
Loading…
Reference in a new issue