aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar JustAnotherArchivist2020-05-13 03:42:28 +0000
committerGravatar JustAnotherArchivist2020-05-13 03:42:28 +0000
commit4d0a4c8c8ef766bf90c0e895d12191ae6bf9ed73 (patch)
treea3bed5bf36dce2c7d71dc3c774aadda38b587826
parentClean up duplicate encoding (diff)
signature
Log request body
-rw-r--r--http2irc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/http2irc.py b/http2irc.py
index 0be4635..60c0a5c 100644
--- a/http2irc.py
+++ b/http2irc.py
@@ -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: