Browse Source

Log request body

master
JustAnotherArchivist 4 years ago
parent
commit
4d0a4c8c8e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      http2irc.py

+ 1
- 1
http2irc.py View File

@@ -652,7 +652,7 @@ class WebServer:
self._configChanged.clear()

async def post(self, request):
self.logger.info(f'Received request {id(request)} from {request.remote!r} for {request.path!r}')
self.logger.info(f'Received request {id(request)} from {request.remote!r} for {request.path!r} with body {(await request.read())!r}')
try:
channel, auth, module, moduleargs = self._paths[request.path]
except KeyError:


Loading…
Cancel
Save