Skip to content

Commit 05c1341

Browse files
authored
Merge pull request #3320 from michalsn/fix/download_reponse
Fix protocol version for DownloadResponse
2 parents 3357bbd + ffd2130 commit 05c1341

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/HTTP/DownloadResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ public function sendHeaders()
484484
}
485485

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

490490
// Send all of our headers

0 commit comments

Comments
 (0)