Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
function check_compression {
curl -I -H 'Accept-Encoding: gzip,deflate' $1 |grep "Content-Encoding"
}
check_compression http://www.bunlongheng.com/ ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment