Skip to content

Commit

Permalink
Merge pull request #537 from ans-group/35750-incorrect-header-formatting
Browse files Browse the repository at this point in the history
35750 - change header case on download pss
  • Loading branch information
d0hn authored Oct 14, 2024
2 parents d4aba09 + 37d3ddd commit 0494886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PSS/Entities/Download.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0494886

Please sign in to comment.