src/Client.php
public function unsetHeader($name)
    {
        if (!self::isValidHeaderName($name)) {
            return true;
        }

        if (isset($this->requiredHttpHeaders[$name])) {
            return false;
        }

        unset($this->headers[$name]);
        return true;
    }
public function unsetHeader($name)
    {
        if (!self::isValidHeaderName($name)) {
            return true;
        }

        if (isset($this->requiredHttpHeaders[$name])) {
            return false;
        }

        unset($this->headers[$name]);
        return true;
    }
public function unsetHeader ( $ name ) { if ( ! self :: isValidHeaderName ( $ name ) ) { return true ; } if ( isset ( $ this -> requiredHttpHeaders [ $ name ] ) ) { return false ; } unset ( $ this -> headers [ $ name ] ) ; return true ; }
Unset an existing HTTP header. This HTTP header will no longer be sent
on future requests.

@param string $name
The name of the HTTP header (e.g. "Authorization").

@return boolean
True iff the header was successfully removed (or was never set in the
first place). Note that the CONTENT_TYPE, CONNECTION_TYPE, and METHOD
headers are required, so those headers cannot be unset.
Unset an existing HTTP header . This HTTP header will no longer be sent on future requests .