src/Exception/Http305Exception.php
public function check()
    {
        if (null === ($location = $this->headers('location')))
        {
            throw new BaseException("A 'location' must be specified for a redirect");
        }

        if (false === strpos($location, '://'))
        {
            throw new BaseException('An absolute URI to the proxy server must be specified');
        }

        return true;
    }
public function check()
    {
        if (null === ($location = $this->headers('location')))
        {
            throw new BaseException("A 'location' must be specified for a redirect");
        }

        if (false === strpos($location, '://'))
        {
            throw new BaseException('An absolute URI to the proxy server must be specified');
        }

        return true;
    }
{@inheritdoc}