til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Handle Gzip

curl will automatically decompress the response if you set the --compressed flag:

curl --compressed "http://example.com"

You can find out if the response is compressed by looking at the Content-Encoding header.

Resources and References