MCPcopy Create free account
hub / github.com/webpy/webpy / handle

Method handle

web/application.py:649–652  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

647 # PY3DOCTEST: b'not found'
648
649 def handle(self):
650 host = web.ctx.host.split(":")[0] # strip port
651 fn, args = self._match(self.mapping, host)
652 return self._delegate(fn, self.fvars, args)
653
654 def _match(self, mapping, value):
655 for pat, what in mapping:

Callers

nothing calls this directly

Calls 2

_matchMethod · 0.95
_delegateMethod · 0.80

Tested by

no test coverage detected