Method
handle
(self, request: APIRequest, call_next: CallNext)
Source from the content-addressed store, hash-verified
| 166 | |
| 167 | @override |
| 168 | def handle(self, request: APIRequest, call_next: CallNext) -> Any: |
| 169 | response = call_next(request) |
| 170 | if response.status_code == 413: |
| 171 | return call_next(self._shrink(request)) |
| 172 | return response |
| 173 | |
| 174 | @override |
| 175 | async def handle_async(self, request: APIRequest, call_next: AsyncCallNext) -> Any: |
Callers
nothing calls this directly
Tested by
no test coverage detected