svn: /phpdoc/en/trunk/reference/filesystem/functions/ readfile.xml
| From: | Hannes Magnusson | Date: | Wed, 21 Dec 2011 14:48:14 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/filesystem/functions/ readfile.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9262@lists.php.net to get a copy of this message | ||
bjori Wed, 21 Dec 2011 14:48:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=321292
Log:
post- and pre-check headers aren't needed for IE (and in fact IE bugs cause them to double
download the file), see bug#60516
Bug: https://bugs.php.net/60516 (Open) Bad Cache-Control
header causes IE to rapidly re-download
Changed paths:
U phpdoc/en/trunk/reference/filesystem/functions/readfile.xml
Modified: phpdoc/en/trunk/reference/filesystem/functions/readfile.xml
===================================================================
--- phpdoc/en/trunk/reference/filesystem/functions/readfile.xml 2011-12-21 13:44:20 UTC (rev 321291)
+++ phpdoc/en/trunk/reference/filesystem/functions/readfile.xml 2011-12-21 14:48:14 UTC (rev 321292)
@@ -78,7 +78,7 @@
header('Content-Disposition: attachment; filename='.basename($file));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
- header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
+ header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($file));
ob_clean();