Sfoglia il codice sorgente

Log request body

master
JustAnotherArchivist 4 anni fa
parent
commit
4d0a4c8c8e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      http2irc.py

+ 1
- 1
http2irc.py Vedi 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:


Caricamento…
Annulla
Salva