Skip to content

Commit

Permalink
Merge pull request #3320 from michalsn/fix/download_reponse
Browse files Browse the repository at this point in the history
Fix protocol version for DownloadResponse
  • Loading branch information
michalsn authored Jul 15, 2020
2 parents 3357bbd + ffd2130 commit 05c1341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/HTTP/DownloadResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ public function sendHeaders()
}

// HTTP Status
header(sprintf('HTTP/%s %s %s', $this->protocolVersion, $this->getStatusCode(), $this->getReason()), true,
header(sprintf('HTTP/%s %s %s', $this->getProtocolVersion(), $this->getStatusCode(), $this->getReason()), true,
$this->getStatusCode());

// Send all of our headers
Expand Down

0 comments on commit 05c1341

Please sign in to comment.