(
self,
app: ASGIApp,
hash_service: HashService,
)
| 9 | |
| 10 | class BodySave(BaseHTTPMiddleware): |
| 11 | def __init__( |
| 12 | self, |
| 13 | app: ASGIApp, |
| 14 | hash_service: HashService, |
| 15 | ) -> None: |
| 16 | super().__init__(app=app) |
| 17 | self.hash_service = hash_service |
| 18 | |
| 19 | async def dispatch(self, request: Request, call_next: Callable) -> Response: |
| 20 | body = await request.body() |
nothing calls this directly
no outgoing calls
no test coverage detected