MCPcopy
hub / github.com/tornadoweb/tornado / initialize

Method initialize

tornado/web.py:2645–2646  ·  view source on GitHub ↗
(self, status_code: int)

Source from the content-addressed store, hash-verified

2643 """Generates an error response with ``status_code`` for all requests."""
2644
2645 def initialize(self, status_code: int) -> None:
2646 self.set_status(status_code)
2647
2648 def prepare(self) -> None:
2649 raise HTTPError(self._status_code)

Callers 1

__init__Method · 0.45

Calls 1

set_statusMethod · 0.80

Tested by

no test coverage detected