From c927c3244261ca36dd341652e1791c069a16f01a Mon Sep 17 00:00:00 2001 From: Noah Hilverling Date: Mon, 17 Oct 2016 16:34:07 +0200 Subject: [PATCH] Response: Only set header Content-Type in method prepare if not already set refs #12161 --- library/Icinga/Web/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Response.php b/library/Icinga/Web/Response.php index cdb377efd..d96972de6 100644 --- a/library/Icinga/Web/Response.php +++ b/library/Icinga/Web/Response.php @@ -275,7 +275,7 @@ class Response extends Zend_Controller_Response_Http } } - $this->setHeader("Content-Type", $this->getContentType(), true); + $this->setHeader('Content-Type', $this->getContentType(), false); } /**