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

Method get

tornado/test/web_test.py:2354–2356  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2352 def get_app_kwargs(self):
2353 class Custom404Handler(RequestHandler):
2354 def get(self):
2355 self.set_status(404)
2356 self.write("custom 404 response")
2357
2358 return dict(default_handler_class=Custom404Handler)
2359

Callers

nothing calls this directly

Calls 2

set_statusMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected