cvs: pear /HTTP_Download Download.php

From: Date: Thu, 08 Jul 2004 19:50:18 +0000
Subject: cvs: pear /HTTP_Download Download.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-21656@lists.php.net to get a copy of this message
mike Thu Jul 8 15:50:18 2004 EDT Modified files: /pear/HTTP_Download Download.php Log: * Internet Explorer depends on a Pragma header (While it worked fine for me, many people reported this problem) http://cvs.php.net/diff.php/pear/HTTP_Download/Download.php?r1=1.31&r2=1.32&ty=u Index: pear/HTTP_Download/Download.php diff -u pear/HTTP_Download/Download.php:1.31 pear/HTTP_Download/Download.php:1.32 --- pear/HTTP_Download/Download.php:1.31 Fri Jul 2 10:32:53 2004 +++ pear/HTTP_Download/Download.php Thu Jul 8 15:50:17 2004 @@ -11,7 +11,7 @@ // | Copyright (c) 2003-2004 Michael Wallner <mike@iworks.at> | // +----------------------------------------------------------------------+ // -// $Id: Download.php,v 1.31 2004/07/02 14:32:53 mike Exp $ +// $Id: Download.php,v 1.32 2004/07/08 19:50:17 mike Exp $ /** * Manage HTTP Downloads. @@ -93,7 +93,7 @@ * if you want to send already gzipped data! * * @access public - * @version $Revision: 1.31 $ + * @version $Revision: 1.32 $ */ class HTTP_Download { @@ -165,6 +165,7 @@ */ var $headers = array( 'Content-Type' => 'application/x-octetstream', + 'Pragma' => 'cache', 'Cache-Control' => 'public', 'Accept-Ranges' => 'bytes', 'Connection' => 'close' @@ -538,6 +539,7 @@ } } else { unset( + $this->headers['Pragma'], $this->headers['Last-Modified'], $this->headers['Cache-Control'] );

« previous php.pear.cvs (#21656) next »