Chrome在“网络"标签中未显示OPTIONS请求 [英] Chrome not showing OPTIONS requests in Network tab
问题描述
我的Web客户端应用程序正在通过访存API设置HTTP POST请求.
My web client application is setting HTTP POST requests via fetch API.
我看到OPTIONS预检请求是通过调试代理(Charles Proxy)发送的,但未显示在Google Chrome开发者工具\网络标签中.
I see that OPTIONS preflight requests are sent via debugging proxy (Charles Proxy), but they are not displayed in Google Chrome Developer Tools\Network tab.
网络"标签上没有任何过滤器设置.我记得OPTIONS请求在此可见,但现在不再可见.我该如何带他们回来?
I don't have any filters setup on the network tab. I remember OPTIONS requests being visible there, but not anymore. How do I bring them back?
推荐答案
您需要转到:chrome://flags/#out-of-blink-cors
,禁用该标志,然后重新启动Chrome.
You'll need to go to: chrome://flags/#out-of-blink-cors
, disable the flag, and restart Chrome.
根据以下内容,这是预期的行为更改:
https://bugs.chromium.org/p/chromium/issues/detail?id = 995740#c1
This is an expected behavior change according to:
https://bugs.chromium.org/p/chromium/issues/detail?id=995740#c1
我最初是通过以下方式遇到此问题的:
https://support.google.com/chrome/thread/11089651?hl=zh_CN
I originally came across this via:
https://support.google.com/chrome/thread/11089651?hl=en
这篇关于Chrome在“网络"标签中未显示OPTIONS请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!