cigar
cigar copied to clipboard
Optionally follow redirects
Currently when doing a check on an URL which responds with a redirect, a 3xx status code and no content is returned.
It would be useful if there was a CLI option like --follow-redirects which does what it says and ensures that the check is performed on the final redirect target URL.
Given that curl is used the option CURLOPT_FOLLOWLOCATION should do the trick.