public function setHeader($name, $value)
    {
        $internalName = strtolower($name);

        if (true === is_array($value)) {
            $this->headers[$internalName] = $value;
        } else {
            $this->headers[$internalName] = array($value);
        }
    }
public function setHeader($name, $value)
    {
        $internalName = strtolower($name);

        if (true === is_array($value)) {
            $this->headers[$internalName] = $value;
        } else {
            $this->headers[$internalName] = array($value);
        }
    }
public function setHeader ( $ name , $ value ) { $ internalName = strtolower ( $ name ) ; if ( true === is_array ( $ value ) ) { $ this -> headers [ $ internalName ] = $ value ; } else { $ this -> headers [ $ internalName ] = array ( $ value ) ; } }
Setter for header.

@param string       $name  The header
@param string|array $value The value to set

@author Benjamin Carl <opensource@clickalicious.de>
@return void
@access public
Setter for header .