public function removeHeader($key)
    {
        if (isset($this->headers[$key])) {
            unset($this->headers[$key]);
        }
        return $this;
    }
public function removeHeader($key)
    {
        if (isset($this->headers[$key])) {
            unset($this->headers[$key]);
        }
        return $this;
    }
public function removeHeader ( $ key ) { if ( isset ( $ this -> headers [ $ key ] ) ) { unset ( $ this -> headers [ $ key ] ) ; } return $ this ; }
Remove a header by key.

@param string $key

@return $this
Remove a header by key .