| Conditions | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import abc |
||
| 33 | @WSGIRequest.application |
||
| 34 | def application(wsgi_request: WSGIRequest) -> WSGIResponse: |
||
| 35 | request_data = RequestData(wsgi_request) |
||
| 36 | request_func = self._router.dispatch( |
||
| 37 | request_data.path, request_data.method |
||
| 38 | ) |
||
| 39 | request = Request(request_data, request_func) |
||
| 40 | response = Response(request) |
||
| 41 | return response.wsgi() |
||
| 42 | |||
| 44 |