Resolve a path and return a ``(handler, urlargs)`` tuple or
        ``None`` if the path could not be resolved.

def _resolve(self, path, method, urlargs=None):
        '''Resolve a path and return a ``(handler, urlargs)`` tuple or
        ``None`` if the path could not be resolved.
        '''
        match = self.route.match(path)
        if match is None:
            if not self.route.is_leaf:  # no match
                return
        elif '__remaining__' in match:
            path = match.pop('__remaining__')
            urlargs = update_args(urlargs, match)
        else:
            handler = getattr(self, method, None)
            if handler is None:
                raise MethodNotAllowed
            response_wrapper = self.response_wrapper
            if response_wrapper:
                handler = partial(response_wrapper, handler)
            return Handler(self, handler, update_args(urlargs, match))
        #
        for handler in self.routes:
            view_args = handler._resolve(path, method, urlargs)
            if view_args is None:
                continue
            return view_args