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

Method get

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

Source from the content-addressed store, hash-verified

1107
1108 class WriteErrorHandler(RequestHandler):
1109 def get(self):
1110 if self.get_argument("status", None):
1111 self.send_error(int(self.get_argument("status")))
1112 else:
1113 1 / 0
1114
1115 def write_error(self, status_code, **kwargs):
1116 self.set_header("Content-Type", "text/plain")

Callers

nothing calls this directly

Calls 2

get_argumentMethod · 0.80
send_errorMethod · 0.80

Tested by

no test coverage detected