public function setFollowRedirects($follow) {
        if (!is_bool($follow)) throw new IllegalTypeException('Illegal type of parameter $follow: '.gettype($follow));

        $this->followRedirects = $follow;
        return $this;
    }