在Safari 10中查看HTTP标头 [英] View HTTP headers in Safari 10

查看:1082
本文介绍了在Safari 10中查看HTTP标头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Mac OS X Sierra上的Safari 10网络浏览器中打开了Web Inspector,我访问了一个公共网站,例如google.com。

In Safari 10 web browser on Mac OS X Sierra and with the Web Inspector turned on, I go visit a public website such as google.com.

Safari 10中的一个视图HTTP标头?

How does one view HTTP headers in Safari 10?

推荐答案

(将完整的解决方案放在此处,以便那些没有启用功能的人网络检查员会看到它。)

(Putting the full solution here so people who haven't got as far as enabling the web inspector will see it.)

首先确保启用 Develop 菜单:在<$ c Safari首选项中的$ c>高级窗格( Cmd +,)选择在菜单栏中显示开发菜单。

First ensure that the Develop menu is enabled: in the Advanced pane in Safari Preferences (Cmd + ,) select "Show Develop menu in menu bar".

然后,从 Develop 菜单中选择显示页面资源 Cmd + Alt + A )。然后,在视图的右上角,在标签栏下方,有一个显示详细信息侧栏按钮( Cmd + Alt + 0 )。点击它。

Then, from the Develop menu select Show Page Resources (Cmd + Alt + A). Then, in the top right corner of the view, just under the tab bar, there is a button to "Show the details sidebar" (Cmd + Alt + 0). Click it.

然后您可以从左侧边栏中选择每个资源,标题将显示在右侧边栏中。您可能需要刷新页面才能最初查看它们。

Then you can select each resource from the left sidebar and the headers will appear in the right sidebar. You may need to refresh the page to see them initially.

这篇关于在Safari 10中查看HTTP标头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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