I try to write a simple middleware for FastAPI peeking into response bodies. ... app = FastAPI() @app.middleware("http") async def log_request(request, ...
確定! 回上一頁