Get the HTTP response singleton for the current controller.
Call the setHeader on it.
setHeader
For example:
$response->setHeader('Content-Transfer-Encoding', 'binary', true);
See also: