mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Response: Only set header Content-Type in method prepare if not already set
refs #12161
This commit is contained in:
parent
703561f874
commit
c927c32442
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user