JResponse::setHeader

Set a header.

If $replace is true, replaces any headers already defined with that $name.