Chrome网络请求未显示"Cookie"标签,某些请求标头,“复制为cURL"已损坏 [英] Chrome Network Request does not show Cookies tab, some request headers, Copy as cURL is broken

查看:196
本文介绍了Chrome网络请求未显示"Cookie"标签,某些请求标头,“复制为cURL"已损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我升级到Chrome 72之后,开发人员工具->网络->网络请求中的"Cookies"标签不再显示"Cookies"标签,并且请求标头不再包含Cookie.

此外,右键单击网络请求,然后选择复制"->复制为cURL"会给出curl命令,但没有正确的请求标头/Cookie.

查看屏幕快照,比较Chrome和"Cookie"标签/请求标头以及没有它们的Chrome.

它看起来像这样:

解决方案

我提交了有关Chrome项目的错误报告,并得到了禁用 chrome://flags/#site-isolation-trial-opt-out chrome://flags/#network-service的答案. >

但是, chrome://flags/#site-isolation-trial-opt-out 可能会影响类似Spectre攻击的漏洞.所以我没有禁用它.

我确实禁用了chrome://flags/#network-service,现在它可以正常工作了.

现在看起来像这样:

Since I upgraded to Chrome 72 the "Cookies" tab in Developer Tools -> Network -> A network request no longer shows the "Cookies" tab, and the request headers no longer include Cookies.

Furthermore, right clicking on a network request and selecting Copy -> Copy as cURL gives a curl command without the proper request headers / cookies.

See screenshots comparing Chrome with Cookies tab / request headers, and Chrome without them.

It looks like this:

解决方案

I filed a bug report on the chromium project, and got an answer to disable chrome://flags/#site-isolation-trial-opt-out and chrome://flags/#network-service.

However, chrome://flags/#site-isolation-trial-opt-out may affect things such as vulnerability to Spectre-like attacks. So I did not disable it.

I did disable chrome://flags/#network-service and now it works properly.

Now it looks like this:

这篇关于Chrome网络请求未显示"Cookie"标签,某些请求标头,“复制为cURL"已损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆