(self, path: pathlib.Path)
| 122 | self._serve_file(server.static_path / path[1:], path) |
| 123 | |
| 124 | def serve_file(self, path: pathlib.Path) -> None: |
| 125 | return self._serve_file(path, urlparse(self.uri.decode()).path) |
| 126 | |
| 127 | def _serve_file(self, path: pathlib.Path, request_path: str) -> None: |
| 128 | server = self.channel.factory.server_instance |