def METHOD_NAME(pattern):
    """
    Exposes the decorated method of your :class:`HttpPlugin` via HTTP
    :param pattern: URL regex (``^`` and ``$`` are implicit)
    :type  pattern: str
    :rtype: function
        Named capture groups will be fed to function as ``**kwargs``
    """
    def decorator(f):
        # Request method involved, like get or post
        f.method = method
        f.url_pattern = re.compile(f'^{pattern}$')
        return f
    return decorator