Provisional headers are shown?怎么调试

文章目录[隐藏]

老外给了一个方法:

The way I found about the extension that was blocking my resource was through the net-internals tool in Chrome:

For Latest Versions of chrome

  • Type chrome://net-export/ in the address bar and hit enter.
  • Start Recording. And save Recording file to local.
  • Open the page that is showing problems.
  • Go back to net-internals
  • You can view Recorded Log file Here https://netlog-viewer.appspot.com/#import
  • click on events (###) and use the textfield to find the event related to your resource (use parts of the URL).
  • Finally, click on the event and see if the info shown tells you something.

For Older Versions of chrome

  • Type chrome://net-internals in the address bar and hit enter.
  • Open the page that is showing problems.
  • 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 the event and see if the info shown tells you something.

翻译下

1、 打开chrome://net-export/

2. 点击start log to disk, 会弹出个框,选择存储在本地位置

3. 在浏览器上操作,复现你的问题

4. 回到刚才那个页面,点击 stop logging

5. 然后打开这个地址: https://netlog-viewer.appspot.com/#import 点击选择文件,导入刚才导出的日志记录

6. 选择Events,搜索下你的接口,可以看右边的日志,实际上是有cookie的。

其他

还有个经常用的地址:chrome://net-internals

可以用来清除DNS缓存这些

知识共享署名4.0国际许可协议,转载请保留出处; 部分内容来自网络,若有侵权请联系我:前端学堂 » Provisional headers are shown?怎么调试

赞 (3) 打赏

评论 0

如果对您有帮助,别忘了打赏一下宝宝哦!

支付宝扫一扫打赏

微信扫一扫打赏