Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Viewing headers for Safari

Viewing headers for Safari
Thread Tools
Curiosity
Senior User
Join Date: Jul 2006
Status: Offline
Reply With Quote
Sep 18, 2009, 05:38 PM
 
Is there any kind of limited packet sniffer that will display browser request headers and server response headers for Safari on Mac OS 10.4.11? Either a standalone application or a Safari add-on would do.
     
TETENAL
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Sep 18, 2009, 05:50 PM
 
Safari Web Inspector -> Resources
     
Cold Warrior
Moderator
Join Date: Jan 2001
Location: Polwaristan
Status: Offline
Reply With Quote
Sep 18, 2009, 05:53 PM
 
packet peeper
cocoapacketanalyzer
wireshark

are all packet sniffers that work on OS X. I imagine you'd have to search for user agent strings ('AppleWebKit' for example) and then examine the capture.
     
Curiosity  (op)
Senior User
Join Date: Jul 2006
Status: Offline
Reply With Quote
Sep 19, 2009, 01:16 AM
 
Originally Posted by TETENAL View Post
Safari Web Inspector -> Resources
I looked at it, but all I found were timelines, sizes of items, a list of what was sent with the page with the possibility of examining them, and source code for the page. There was no listing of Safari's request headers or the server's response headers.
     
Curiosity  (op)
Senior User
Join Date: Jul 2006
Status: Offline
Reply With Quote
Sep 19, 2009, 01:52 AM
 
Originally Posted by Cold Warrior View Post
packet peeper
cocoapacketanalyzer
wireshark

are all packet sniffers that work on OS X.
Thanks for the list. All these sniffers show hex dumps of packets, whereas I would prefer a text listing. All I really want is a list of the various headers that are exchanged between browser and server. I guess a packet sniffer is a bit more than I need. The kind of thing I really need is something like the log window for Proxomitron in Windows or Live HTTP Headers for Firefox, but the equivalent for Safari.
     
TETENAL
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Sep 19, 2009, 06:06 AM
 
Originally Posted by Curiosity View Post
I looked at it, but all I found were timelines, sizes of items, a list of what was sent with the page with the possibility of examining them, and source code for the page. There was no listing of Safari's request headers or the server's response headers.
     
Curiosity  (op)
Senior User
Join Date: Jul 2006
Status: Offline
Reply With Quote
Sep 19, 2009, 01:51 PM
 
Ok, I missed that. Why does that display not show the whole request header? It also seems to show only the request for the page, not the requests for all the other files that go with it. It does not show me cookies in my request, which is what I especially wanted to see.
     
wolfsokta
Fresh-Faced Recruit
Join Date: Jul 2010
Status: Offline
Reply With Quote
Jul 7, 2010, 05:45 PM
 
It'll show you the headers for each of the items requested by selecting the item in the left hand side. You can also get to the cookies by selecting the Storage tab.
     
Curiosity  (op)
Senior User
Join Date: Jul 2006
Status: Offline
Reply With Quote
Jul 7, 2010, 08:00 PM
 
Really great. Thanks, guys.
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 11:44 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,