原文:pytest文档46-关于https请求警告问题(InsecureRequestWarning: Unverified HTTPS request is being made)

前言 使用 pytest 执行 https 请求用例的时候,控制台会出现警告:InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. 当出现这个警告的时候,我们第一反应是加忽略警告:urllib .disable warn ...

2020-08-13 21:57 10 1904 推荐指数:

查看详情

python request 请求https报错问题

旁边大佬让我重新写一个某XX监控脚本 需要请求https遇到了如下的问题 花了一下午解决这个问题。。。 害太菜,。。。。 遇到的问题: requests.post 发送https请求的时候报错 解决方法加上verify=False 还报错继续处理 ...

Sun Jul 05 19:52:00 CST 2020 0 1895
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM