Skip to content

Commit 282b407

Browse files
authored
Merge pull request #103 from linkito87/fix-download
Fix header size on create action
2 parents 873113d + 2cbc137 commit 282b407

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/PKPass.php

-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ public function create($output = false)
385385
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
386386
header('Last-Modified: ' . gmdate('D, d M Y H:i:s T'));
387387
header('Pragma: public');
388-
header('Content-Length: ' . $size);
389388
if (ob_get_level() > 0)
390389
{
391390
ob_end_flush();

0 commit comments

Comments
 (0)