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

Method get

tornado/test/httpclient_test.py:37–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35
36class HelloWorldHandler(RequestHandler):
37 def get(self):
38 name = self.get_argument("name", "world")
39 self.set_header("Content-Type", "text/plain")
40 self.finish("Hello %s!" % name)
41
42
43class PostHandler(RequestHandler):

Callers

nothing calls this directly

Calls 3

get_argumentMethod · 0.80
set_headerMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected