Skip to content

Instantly share code, notes, and snippets.

@djburdick
Created June 6, 2013 04:06
Show Gist options
  • Select an option

  • Save djburdick/5719232 to your computer and use it in GitHub Desktop.

Select an option

Save djburdick/5719232 to your computer and use it in GitHub Desktop.
checking to see if a site is sending gzipped data. #linux
curl -H "Accept-Encoding:gzip" https://www.google.com/
// not gzipped
curl -H "Accept-Encoding:gzip" https://github.com/ | gunzip
// gzipped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment