http-headers - Chrome 网络检查器中缺少请求 header (和发送的 cookie)?

标签 http-headers google-chrome-devtools web-inspector request-headers

我注意到在某些情况下(例如 XHR 请求),至少在 OSX Google Chrome 中,发送的请求 header 和 cookie 已经从网络检查中消失了。

如果您没有明白我的意思,只需打开 Web 检查器并连接到您的 Twitter 帐户,然后检查 XHR 请求:您可以看到请求有效负载和响应 header ,但发送的 header 和 cookie 已消失。

知道如何解决这个问题吗?我试过在 about:flags 中激活一些异国情调的标志,但没有看到任何变化。

最佳答案

似乎是因为请求的页面是通过 https 加载的。我不知道为什么 Chrome 突然发现有必要隐藏请求 header ,但经过测试,安全连接似乎是这种行为的触发因素。

关于http-headers - Chrome 网络检查器中缺少请求 header (和发送的 cookie)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12023695/

相关文章:

http - 为什么 Firefox 忽略缓存 header 并在刷新时重新验证?

Java : Unable to change 'Content-Disposition' attribute in the Header for a response

javascript - Chrome 开发工具中有没有办法不跳过其他 JavaScript 文件?

html - 亚马逊如何混合其图像的白色背景?

javascript - 忽略 javascript 调试器中的 onMouseMove

google-chrome - 如何查看 Chrome 开发者工具网络选项卡中使用的协议(protocol)?

c# - C# 中的超小型 Web 服务器

python - 错误 "the Content-MD5 HTTP header you passed for your feed did not match the Content-MD5 we calculated for your feed"

javascript - 如何自动删除css规则 "body overflow:hidden"

google-chrome-devtools - chrome 开发工具中的图层组合