(self)
| 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: |