__init__.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:webhook-shims 作者: vmw-loginsight 项目源码 文件源码
def test(ALERTID=None):
    """Log the auth header, request, and parsed moreinfo field. Respond with success. Don't send the payload anywhere."""
    try:
        logging.info(request.headers['Authorization'])
    except KeyError:
        pass
    if request.get_data():
        logging.info(request.get_data())
        a = parse(request)
        try:
            logging.info(a['moreinfo'])
        except KeyError:
            pass
    return "OK"


# Import individual shims
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号