opencart/opencart — pull request #1770 by pine3ree (2014-08-21 14:42:26+00:00)
Title: undefined method Response::setContentType?

Please verify...
anyway, it would be nice to have an hash array for the headers property of Response.
keys would be the header names and values the header values (either scalar or array)
In that case we could have a
setHeader($name, $value) method
addHeader($name, $value) for multiple values headers
setContentType($contentType) calling setHeader('Content-type', $contentType)
getHeaderLine($name) whose output will be used with php header() method