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

Method prepare

tornado/test/gen_test.py:677–679  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

675class AsyncPrepareErrorHandler(RequestHandler):
676 @gen.coroutine
677 def prepare(self):
678 yield gen.moment
679 raise HTTPError(403)
680
681 def get(self):
682 self.finish("ok")

Callers

nothing calls this directly

Calls 1

HTTPErrorClass · 0.90

Tested by

no test coverage detected