Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
if [ "$1" == "" ]; then
echo -e "\n Not Found target path ! \n Execute again !"
exit;
fi
TARGET_PATH=$1
curl -I -H 'Accept-Encoding: gzip,deflate' ${TARGET_PATH} 2>/dev/null | grep 'Content-Encoding'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.