MCPcopy
hub / github.com/aosabook/500lines / add_handler

Method add_handler

crawler/code/test.py:75–76  ·  view source on GitHub ↗
(self, url, handler)

Source from the content-addressed store, hash-verified

73 return app
74
75 def add_handler(self, url, handler):
76 self.app.router.add_route('GET', url, handler)
77
78 def add_page(self, url='/', links=None, body=None, content_type=None):
79 if not body:

Callers 4

add_pageMethod · 0.95
add_redirectMethod · 0.95
test_max_tasksMethod · 0.95
test_max_triesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected