Graby\Extractor\HttpClient::possibleUnsupportedType PHP Method

possibleUnsupportedType() private method

Try to determine if the url is a direct link to a binary resource by checking the extension.
private possibleUnsupportedType ( string $url ) : string | false
$url string Absolute url
return string | false
    private function possibleUnsupportedType($url)
    {
        $ext = strtolower(trim(pathinfo($url, PATHINFO_EXTENSION)));
        if (!$ext) {
            return false;
        }
        return in_array($ext, $this->config['header_only_clues']);
    }