(self)
| 1180 | return self.request.connection.detach() # type: ignore |
| 1181 | |
| 1182 | def _break_cycles(self) -> None: |
| 1183 | # Break up a reference cycle between this handler and the |
| 1184 | # _ui_module closures to allow for faster GC on CPython. |
| 1185 | self.ui = None # type: ignore |
| 1186 | |
| 1187 | def send_error(self, status_code: int = 500, **kwargs: Any) -> None: |
| 1188 | """Sends the given HTTP error code to the browser. |