diff --git a/src/PSS/Entities/Download.php b/src/PSS/Entities/Download.php index b8c0751c..e1aeaf53 100644 --- a/src/PSS/Entities/Download.php +++ b/src/PSS/Entities/Download.php @@ -26,7 +26,7 @@ public function getStream() */ public function getContentType() { - $contentType = $this->response->getHeaders()['Content-Type']; + $contentType = array_change_key_case($this->response->getHeaders())['content-type']; if ($contentType) { return $contentType; }