public function removeHeader(string $name): bool
    {
        $name = strtolower($name);
        if (!isset($this->headers[$name])) {
            return false;
        }
        unset($this->headers[$name]);

        return true;
    }
public function removeHeader(string $name): bool
    {
        $name = strtolower($name);
        if (!isset($this->headers[$name])) {
            return false;
        }
        unset($this->headers[$name]);

        return true;
    }
public function removeHeader ( string $ name ) : bool { $ name = strtolower ( $ name ) ; if ( ! isset ( $ this -> headers [ $ name ] ) ) { return false ; } unset ( $ this -> headers [ $ name ] ) ; return true ; }
Removes a HTTP header.

The specified header name must be treated as case-insensitive.
This method should return true if the header was successfully deleted,
and false if the header did not exist.
Removes a HTTP header .