Web - How to test that your webserver is serving gzip pages

When you want to set up your webserver you might want to use gzip. But how to test if it works ? I used to test some request with telnet, the problem is that it will always return without gzip, because you don’t specify that you can process the gzip binary returned. So the webserver don’t use it. But there’s a solution available on all linux boxes. It requests headers only and specifies that it can handle gzip compression.