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

Method get

tornado/test/routing_test.py:64–68  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

62
63class GetResource(RequestHandler):
64 def get(self, path):
65 if path not in resources:
66 raise HTTPError(404)
67
68 self.finish(resources[path])
69
70
71class PostResource(RequestHandler):

Callers

nothing calls this directly

Calls 2

HTTPErrorClass · 0.90
finishMethod · 0.45

Tested by

no test coverage detected