Skip to content

Commit ffd2130

Browse files
committed
Fix protocol version for DownloadResponse
1 parent b1e2dec commit ffd2130

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)