src/Retriever.php
private function preVerifyContentType(RequestInterface $request): ?bool
    {
        try {
            $response = $this->httpClient->send($request);
        } catch (RequestException $requestException) {
            return null;
        } catch (GuzzleException $guzzleException) {
            return null;
        }

        $this->getModelClassNameFromContentTypeWithContentTypeVerification($request, $response);

        return true;
    }
private function preVerifyContentType(RequestInterface $request): ?bool
    {
        try {
            $response = $this->httpClient->send($request);
        } catch (RequestException $requestException) {
            return null;
        } catch (GuzzleException $guzzleException) {
            return null;
        }

        $this->getModelClassNameFromContentTypeWithContentTypeVerification($request, $response);

        return true;
    }
@param RequestInterface $request

@return bool|null

@throws InternetMediaTypeParseException
@throws InvalidResponseContentTypeException