views:

152

answers:

6

I am getting into HTTP protocol specifics and I would like to see/understand the calls my browser makes as it is being used. I use Firebug (with Firefox) to look at/debug AJAX interactions, etc, but don't see the full HTTP conversation.

Is there something similar for viewing HTTP commands issued by a browser?

+5  A: 

Yes, you can monitor your connection with Wireshark.

Carl Smotricz
or even better: tcpdump
Javier
+1 because Wireshark is actually quite easy to use and you are guaranteed that it won't change, add, or remove any headers.
innaM
+8  A: 

Fiddler is pretty good for looking at the HTTP level, and wireshark will let you look at whats going on at the TCP level.

jeffamaphone
Fiddler (unless I'm mistaken), only workd for *cough* IE browsers. I tend to use FF predominantly for my webdev, also I found Fiddler a bit 'Fiddly' - i.e. not easy to use die to too much information.
Stick it to THE MAN
Fiddler is a proxy, so it works with any browser that supports proxies, including Firefox, Opera, etc. But it is Windows-only.
Annie
@Stick it to THE MAN - actually, you are mistaken. The latest version of Fiddler includes the FiddlerHook add-on for Firefox.
Chris Shouts
wireshack looks impressive, but its probably too much (info) for me at this (beginners) stage
Stick it to THE MAN
Fiddler 2 has Firefox support and even integrates into the status bar.
jeffamaphone
voted up for Etehreal ... errm, WireShark .. sooner or later everyone needs it for something (and it can do it)Also, check out the various FireFox web designer plugins
Mawg
+6  A: 

HttpFox or the venerable LiveHttpHeaders

Nick Dixon
I installed LiveHttpHeaders. Looks like I'll have to RTFM before using it though ...
Stick it to THE MAN
LiveHttpHeaders is hard to read when things get complex.
jeffamaphone
+1  A: 

You can see all the HTTP requests your browser makes for a page (not just AJAX) with the Firebug net panel. Or you can switch to a proxy tool like Fiddler or Charles to see all the http requests made by the browser. If you need more detail, Microsoft VRTA is a free tool that makes netmon data easier to read, and doesn't depend on a proxy.

Annie
+3  A: 

I use Tamper Data, a Firefox add-on, to see HTTP requests and responses, and to manipulate them.

Agos
I installed this. Seems to work out of the box, without too much effort etc
Stick it to THE MAN
Works out of the box - no fuss. This is the one for me (at least to get started)
Stick it to THE MAN
+1  A: 

Proxy from Burp Suite lets you see/modify HTTP requests/responses.

niteria