Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View HTTP headers in Safari

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.

How does one view HTTP headers in Safari on macOS?

like image 581
John Greene Avatar asked Sep 29 '16 02:09

John Greene


People also ask

How do I view HTTP Headers in Firefox?

Select the Network tab or directly press Ctrl+Shift+E together from your computer keyboard. 3. Reload the page, select any HTTP request, and the HTTP headers will be displayed on the right panel.


1 Answers

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

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

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.

like image 73
daphtdazz Avatar answered Sep 21 '22 15:09

daphtdazz