Procházet zdrojové kódy

Log request body

master
JustAnotherArchivist před 4 roky
rodič
revize
4d0a4c8c8e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      http2irc.py

+ 1
- 1
http2irc.py Zobrazit soubor

@@ -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:


Načítá se…
Zrušit
Uložit