Python requests.packages.urllib3.exceptions 模块,SNIMissingWarning() 实例源码

我们从Python开源项目中,提取了以下1个代码示例,用于说明如何使用requests.packages.urllib3.exceptions.SNIMissingWarning()

项目:AmazonRobot    作者:WuLC    | 项目源码 | 文件源码
def ignore_warnings():
    requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
    requests.packages.urllib3.disable_warnings(SubjectAltNameWarning)
    requests.packages.urllib3.disable_warnings(InsecurePlatformWarning)
    requests.packages.urllib3.disable_warnings(SNIMissingWarning)