Compare get curl request headers using bash script – Magento
I want to create a script that compares the value of specific get request headers. So far script content is this: var=$(curl -I -s http://myhost.local | grep X-Magento-Cache-Debug | awk {'print $2'}) if [ "$var" = "HIT" ]; then echo…