Skip to content

Commit 0494886

Browse files
authored
Merge pull request #537 from ans-group/35750-incorrect-header-formatting
35750 - change header case on download pss
2 parents d4aba09 + 37d3ddd commit 0494886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PSS/Entities/Download.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function getStream()
2626
*/
2727
public function getContentType()
2828
{
29-
$contentType = $this->response->getHeaders()['Content-Type'];
29+
$contentType = array_change_key_case($this->response->getHeaders())['content-type'];
3030
if ($contentType) {
3131
return $contentType;
3232
}

0 commit comments

Comments
 (0)