diff --git a/app/main.py b/app/main.py index bf5d7cf..d9dbc8b 100644 --- a/app/main.py +++ b/app/main.py @@ -26,17 +26,6 @@ from .config import ( log = logging.getLogger(__name__) -def inspect_rep(): - @web.middleware - async def factory(request, handler): - print("Incoming Cookies", request.cookies) - response = await handler(request) - print("Outgoing Cookies", response.cookies) - return response - - return factory - - class Indexer: TEMPLATES_ROOT = pathlib.Path(__file__).parent / "templates" @@ -44,7 +33,6 @@ class Indexer: def __init__(self): self.server = web.Application( middlewares=[ - inspect_rep(), middleware_factory(), ] )