“CAUTION: provisional headers are shown” in Chrome

首先上图。通过Chrome 的F12 查看请求头和响应头的时候发现有如下警告。

“CAUTION: provisional headers are shown” in Chrome debugger

202101_mfAD_2308739.png

根据网络查到资料可以看出。

1、chrome浏览器中Provisional headers are shown提示,一般来说,如果看到这个提示,说明这个请求并没有发送出去。具体原因有多种,除了上面提到的情况外,还可能是请求被某些扩展如 Adblock 给拦截了,请求被墙了,走本地缓存或者 dataurl 的请求,也会这样显示

2、另外可以通过Chrome自带的一些工具进行测试。

http://www.oschina.net/news/22254/12-google-chrome-commands/

测试步骤:

I don't really know. The way I found about the extension that was blocking my resource was through the

chrome://net-internals tool in Chrome. 

Just type that in the address bar and hit enter. 

Then open the page that is showing problems. 

Then go back to net-internals, click on events (###) and use the textfield to find the event related to your resource (use parts of the URL). Finally, click on it and see if the info shown tells you something.

2.1. chrome://net-internals

该命令显示网络相关信息,用来捕获浏览器生成的网络事件,可导出数据,可查看DNS主机解析缓存。

其中一个很重要的功能就是“测试”,如果你无法访问某个网址,那么可以使用 “chrome://net-internals” -> 点击“Tests” tab -> 输入网址,并点击开始测试,Chrome 将报告具体的问题所在。

转载于:https://my.oschina.net/u/2308739/blog/413030

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值