python 使用requests 请求 https 接口 ,取消警告waring

response = requests.request("POST", url, timeout=20, data=payload, headers=headers, proxies=real_proxy,
                                        verify=False)

使用  verify=False   后 出现 waring  警告 

在 代码 的 最上方 加上 

# 禁用安全请求警告
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
原文地址:https://www.cnblogs.com/angdh/p/10921859.html