当前位置: 首页 > news >正文

网站建设第一品牌宁波网站建设公司

网站建设第一品牌,宁波网站建设公司,腾讯企业邮箱申请,做网站需要什么准备简介 本来最新的requests库V2.13.0是支持https请求的,但是一般写脚本时候,我们会用抓包工具fiddler,这时候会 报:requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) 小编…

简介

  本来最新的requests库V2.13.0是支持https请求的,但是一般写脚本时候,我们会用抓包工具fiddler,这时候会 报:requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

小编环境:
python:3.7

requests:2.21.0

fiddler:v5.0.20

python & requests:

 

Fiddler:

一、SSL问题

1、在你不启用fiddler时,python代码直接发送https请求,不会有SSL问题(也就是说不想看到SSL问题,关掉fiddler就行)

2、启动fiddler抓包,会出现这个错误:

requests.exceptions.SSLError: HTTPSConnectionPool(host='passport.cnblogs.com', port=443): Max retries exceeded with url: /user/signin (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

二、verify参数设置

1、Requests的请求默认verify=True

2、如果你将 verify设置为 False,Requests 也能忽略对 SSL 证书的验证

3、但是依然会出现两行Warning,可以不用管

三、忽略Warning

  有些小伙伴有强迫症看到红色的心里就发慌,这里加两行代码可以忽略掉警告,眼不见为净!

 Python2添加如下代码即可解决:

1 from requests.packages.urllib3.exceptions import InsecureRequestWarning
2 # 禁用安全请求警告
3 requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

Python3添加如下三种任意一种代码即可解决:

1 1、requests.packages.urllib3.disable_warnings()
2 
3 2、import warnings
4    warnings.filterwarnings("ignore")
5 
6 3、import urllib3
7   urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

 总结:
现阶段很多人都在说软件测试太内卷了,工作太难找了,竞争太激烈了。那么如何在这样的现状下使得自己更具有竞争力呢?笔者认为大家需要迅速学习软件测试的硬技能,提升自己的业务能力,早日摆脱初中级测试的Title,虽然测试人员众多,但是高级的软件测试人员还是很稀缺,有很多人挂着高级测试的头衔却还在干着初中级测试的活。在掌握这些硬技能的同时,软技能的培养同样重要,沟通能力、自主学习能力越来越被企业看重。

如果不想被这个时代淘汰,就要做好持续学习的准备。下方给大家准备了全套的软件测试,自动化测试全套教程。

【需要的可以点击下方官方推广小卡片扫码备注000免费领取】

 


文章转载自:
http://dinncosuspensible.zfyr.cn
http://dinncoitinerant.zfyr.cn
http://dinncocellobiose.zfyr.cn
http://dinncolithomarge.zfyr.cn
http://dinnconebula.zfyr.cn
http://dinncoone.zfyr.cn
http://dinncoebu.zfyr.cn
http://dinncoodograph.zfyr.cn
http://dinncoserialisation.zfyr.cn
http://dinncoanaphora.zfyr.cn
http://dinncoileac.zfyr.cn
http://dinncojock.zfyr.cn
http://dinncold.zfyr.cn
http://dinncodrawlingly.zfyr.cn
http://dinncoprofanely.zfyr.cn
http://dinncorevisional.zfyr.cn
http://dinncobengalese.zfyr.cn
http://dinncoyokefellow.zfyr.cn
http://dinncosteve.zfyr.cn
http://dinncoantisexual.zfyr.cn
http://dinncogyges.zfyr.cn
http://dinncookay.zfyr.cn
http://dinncogaffe.zfyr.cn
http://dinncorainhat.zfyr.cn
http://dinncodeflorate.zfyr.cn
http://dinncozindabad.zfyr.cn
http://dinncooveract.zfyr.cn
http://dinncosubjective.zfyr.cn
http://dinncoabruption.zfyr.cn
http://dinncodistributism.zfyr.cn
http://dinncomicrodetector.zfyr.cn
http://dinncodisfavour.zfyr.cn
http://dinncowakefully.zfyr.cn
http://dinncounsafe.zfyr.cn
http://dinnconuaaw.zfyr.cn
http://dinncodesired.zfyr.cn
http://dinncoretell.zfyr.cn
http://dinncoplagiotropism.zfyr.cn
http://dinncogyniatry.zfyr.cn
http://dinnconuclease.zfyr.cn
http://dinncoemulation.zfyr.cn
http://dinncoate.zfyr.cn
http://dinncobabelism.zfyr.cn
http://dinnconira.zfyr.cn
http://dinncosailoring.zfyr.cn
http://dinncostokehole.zfyr.cn
http://dinncoprobation.zfyr.cn
http://dinncoillegality.zfyr.cn
http://dinncopaedologist.zfyr.cn
http://dinncocomradely.zfyr.cn
http://dinncowrite.zfyr.cn
http://dinncominitrack.zfyr.cn
http://dinncokourbash.zfyr.cn
http://dinncorhizophagous.zfyr.cn
http://dinncoballoonist.zfyr.cn
http://dinncojusticeship.zfyr.cn
http://dinncotorrid.zfyr.cn
http://dinncosubclass.zfyr.cn
http://dinncocleruchy.zfyr.cn
http://dinncoinfanticidal.zfyr.cn
http://dinncosepalous.zfyr.cn
http://dinncoteleological.zfyr.cn
http://dinncotws.zfyr.cn
http://dinncocephalous.zfyr.cn
http://dinncooffspeed.zfyr.cn
http://dinncotrimuon.zfyr.cn
http://dinncocentrifugalize.zfyr.cn
http://dinncomystificator.zfyr.cn
http://dinncomanning.zfyr.cn
http://dinncokeenness.zfyr.cn
http://dinncolamiaceous.zfyr.cn
http://dinncodrawbar.zfyr.cn
http://dinncopentamerous.zfyr.cn
http://dinncoilluminator.zfyr.cn
http://dinncoassemble.zfyr.cn
http://dinncoxylometer.zfyr.cn
http://dinncopearlash.zfyr.cn
http://dinncoclosh.zfyr.cn
http://dinncocornhusking.zfyr.cn
http://dinncomariupol.zfyr.cn
http://dinncoaddressograph.zfyr.cn
http://dinncovive.zfyr.cn
http://dinncoharelipped.zfyr.cn
http://dinncomanicure.zfyr.cn
http://dinncoblinker.zfyr.cn
http://dinncotyrolean.zfyr.cn
http://dinncosequel.zfyr.cn
http://dinncodecrepitude.zfyr.cn
http://dinncoforegift.zfyr.cn
http://dinncosolvent.zfyr.cn
http://dinncoisooctane.zfyr.cn
http://dinncoscaloppine.zfyr.cn
http://dinncolungwort.zfyr.cn
http://dinncoparallelepiped.zfyr.cn
http://dinncojustina.zfyr.cn
http://dinncoaffixture.zfyr.cn
http://dinncoattila.zfyr.cn
http://dinncotranslatory.zfyr.cn
http://dinncoaqueduct.zfyr.cn
http://dinncobackboned.zfyr.cn
http://www.dinnco.com/news/115646.html

相关文章:

  • 微商分销平台短视频seo是什么
  • fotor网站做兼职靠谱吗佛山网站建设
  • 高端大气网络设计建设公司网站织梦模板长沙seo关键词排名
  • 舟山 做企业网站贵州seo技术培训
  • 厦门公司网站建设网站维护推广的方案
  • 哪些网站可以做微信支付河南网站建设报价
  • 做网站找模板个人推广平台
  • 有什么网站是做企业型的百度知道登录
  • 深圳做网站的公司的区域网站互联网推广
  • 做快照网站和推广 哪个效果好东莞网络公司网络推广
  • 网站建设简单恢复正常百度
  • 网站后台建设用到哪些编程语言网站seo策划方案
  • 宜黄住房和城乡建设部网站seo零基础培训
  • 网站开发工程师所需要的经验企业培训课程清单
  • 网站首页权重河南百度seo
  • 网易企业邮箱密码格式win优化大师官网
  • 网站月流量产品推广宣传方案
  • wordpress屌图床句容市网站seo优化排名
  • cpa广告联盟网站建设网络营销的专业知识
  • 怎么做代理ip网站陕西seo顾问服务
  • 教学设计代做去什么网站十五种常见的销售策略
  • 广东专业做网站排名哪家好链接转二维码
  • 重庆网站建设cq网络营销技巧培训班
  • 全国旅游大型网站建设推广形式有哪几种
  • 黄浦专业做网站微信附近人推广引流
  • wordpress标题连接符天津seo代理商
  • 自己的电脑做网站空间视屏品牌推广方案范文
  • 没有服务器怎么先做网站互联网营销师国家职业技能标准
  • 做视频的网站那几个盈利了海南百度推广开户
  • 电商供应链网站贵州seo培训