public function setHeader($name, $value)
    {
        $context = $this->_context;

        $context->headers[$name] = $value;

        return $this;
    }
public function setHeader($name, $value)
    {
        $context = $this->_context;

        $context->headers[$name] = $value;

        return $this;
    }
public function setHeader ( $ name , $ value ) { $ context = $ this -> _context ; $ context -> headers [ $ name ] = $ value ; return $ this ; }
Overwrites a header in the response

@param string $name
@param string $value

@return static
Overwrites a header in the response