MCPcopy Create free account
hub / github.com/EasyIME/PIME / get

Method get

python/python3/tornado/test/httpclient_test.py:88–93  ·  view source on GitHub ↗
(self, count)

Source from the content-addressed store, hash-verified

86
87class CountdownHandler(RequestHandler):
88 def get(self, count):
89 count = int(count)
90 if count > 0:
91 self.redirect(self.reverse_url("countdown", count - 1))
92 else:
93 self.write("Zero")
94
95
96class EchoPostHandler(RequestHandler):

Callers

nothing calls this directly

Calls 3

redirectMethod · 0.80
reverse_urlMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected