Display cookies in request headers in Safari 7

谁说胖子不能爱 提交于 2020-05-26 11:45:25

问题


When examining request headers in Chrome or Opera using their default console, I can see in the request headers what cookies have been sent to the server and if server is trying to set a cookie, I can also see Set-Cookie header.

However, in Safari 7.1.2 I don't see these information, but I see other information such as Accept,, User-Agent, Referer etc.

Do I need to enable something to see the cookies in the Safari's console? How can I view cookies that are being sent together with the request?

Thanks

P.S. I know that I can see cookies in the resources, but I need to know specifically in which requests the cookies are present.


回答1:


As far as I know, modern versions of Safari will omit the "Set-Cookie" and "Cookie" headers in the responses, and requests, respectively. I guess the reason is "oh, you can see what cookies are set in the "Resources / Cookies" tab. However, that's of poor consolation when you're trying to determine if any Cookie headers are being sent, which is my situation.



来源:https://stackoverflow.com/questions/27837597/display-cookies-in-request-headers-in-safari-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!