(self, fallback: str)
| 1948 | return None |
| 1949 | |
| 1950 | def _fallback_file_exists(self, fallback: str) -> bool: |
| 1951 | _, stat_result = self.lookup_path(fallback) |
| 1952 | return stat_result is not None and stat.S_ISREG(stat_result.st_mode) |
| 1953 | |
| 1954 | async def _fallback_response( |
| 1955 | self, fallback: str, scope: Scope, *, status_code: int |