:param request: a :class:`pyramid.request.Request`
        :returns: True if this matcher matches the request, False otherwise

def matches(self, request):
        """
        :param request: a :class:`pyramid.request.Request`
        :returns: True if this matcher matches the request, False otherwise
        """
        return (
            partial_path_match(request.path_info, self.path) and
            request.method == self.method
        )