aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/curl.bash
blob: 6265cd10950136b5131b36f1ac620baa10c72e46 (plain) (blame)
1
2
3
4
5
6
# Shortcut to make HEAD requests with cURL; good for testing webpage
# compression and caching headers
curlh() {
    curl -IH 'Accept-Encoding: gzip,deflate' "$@"
}