public function setHeader($keyName, $value)
    {
        $normalizedKeyName = self::normalizeHeaderKeyName($keyName);
        $this->headers[$normalizedKeyName] = $value;
    }
public function setHeader($keyName, $value)
    {
        $normalizedKeyName = self::normalizeHeaderKeyName($keyName);
        $this->headers[$normalizedKeyName] = $value;
    }
public function setHeader ( $ keyName , $ value ) { $ normalizedKeyName = self :: normalizeHeaderKeyName ( $ keyName ) ; $ this -> headers [ $ normalizedKeyName ] = $ value ; }
Set a header. If it already exists the value is overwritten with the
new one.

@param string     $keyName the name of the header
@param string|int $value   the value of the header
Set a header . If it already exists the value is overwritten with the new one .