views:

237

answers:

8

I see there are plenty of web sites out there that will do this, but I'd really like something I can run to diagnose our internal intranet servers that aren't exposed to the internet.

And, with the budget of this project, free is pretty much my only option. Does anyone have any cool tools they can recommend? Or is there some cool firefox widget I don't know about?

Thanks!

+11  A: 

If you use Firebug you can go into the "net" tab and look at all the resources downloaded. Look for "Content-Encoding", that'll tell you if the server is sending the data using gzip/etc.

Parrots
Okay, that's fantastic. I use firebug every day, I had just never noticed that field. Thanks!
Electrons_Ahoy
+2  A: 

You could use LiveHeader for Firefox to take a look at the response headers.

Node
+2  A: 

I use "Live HTTP headers", a FF addon.

In the headers, you should see Content-Encoding: {...}

For stackoverflow.com, I see: "Content-Encoding: gzip"

Edit: fixed the header to look for, per the comments' suggestion.

Travis Leleu
`Accept-*` is just for request not for responses.
Gumbo
… except the `Accept-Range` response header field.
Gumbo
+2  A: 

Simply look at the HTTP headers your server is sending out. The content-encoding field should contain information on compression.

You can use Wireshark to monitor your network interface, including communications between your servers, which will allow you to see the raw headers and payload.

cookiecaper
+2  A: 

You can also use fiddler.

http://www.fiddlertool.com/fiddler/

Chris Lively
+2  A: 

If you don't have firefox or don't want to install some extension just to check if the site supports compression, you can use plain old telnet:

telnet stackoverflow.com 80
Trying 69.59.196.211...
Connected to stackoverflow.com.
Escape character is '^]'.
HEAD / HTTP/1.0
Host: stackoverflow.com
Accept-Encoding: gzip, deflate

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 26213
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Expires: Mon, 09 Mar 2009 18:20:28 GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
Date: Mon, 09 Mar 2009 18:20:27 GMT
Connection: close
Eugene Morozov
A: 

I've just been informed from meatspace that the firefox developer's toolbar also has a view headers option, so you can check the encoding type there as well.

Electrons_Ahoy
A: 

Yet another Firefox addon: HttpFox.

alexandrul