Top Level :: HTTP

Package Information: HTTP_Download

Show All Changelogs
» Version » Information
1.1.3Download

Release date: 2007-10-31 06:29 UTC
Release state: stable

Changelog:

* Fixed bug #12174 (ob_flush in sendHeaders causes error message)

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR 1.4.0b1 or newer
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PEAR Package: MIME_Type (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Extension: pgsql (optional)
1.1.2Download

Release date: 2007-05-02 19:37 UTC
Release state: stable

Changelog:

* Fixed bug #9670 Notice: ob_end_clean(): failed to delete buffer
* Fixed bug #10497 resuming downloads don't send Length

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR 1.4.0b1 or newer
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PEAR Package: MIME_Type (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Extension: pgsql (optional)
1.1.1Download

Release date: 2006-01-07 09:39 UTC
Release state: stable

Changelog:

* Fixed several occurrences of array_shift(explode())

Dependencies:
  • PEAR Package: PEAR Installer
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PEAR Package: MIME_Type (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Extension: pgsql (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.1.0Download

Release date: 2005-11-14 12:04 UTC
Release state: stable

Changelog:

1.1.0-stable:
=============
* Fixed bug #5949: pass-by-reference error
- Changed license to BSD

RC3:
====
* Added missing support to set 'max age' for cache control through constructor and setParams()
* Added missing support to set 'send 404' for missing files through constructor and setParams()
+ Added public sentBytes property, containing the amount of bytes (body only) sent to the client

RC2:
====
* Added missing support for proprietary Unless-Modified-Since header (IE)
+ Improved comparisons of last modification date
+ Implemeted modified Request #4754; possibility to define max-age cache control parameter

RC1:
====
* Fixed bug #4343: usleep() was called with milliseconds instead of microseconds
if throttling was enabled
* Fixed bug #4049: fatal error if a non-existant file was specified in
constructor parameters

+ Implemented request #3283 - try to use MIME_Type to guess content type
+ Implemented request #3960 - allow zlib.output_compression in php.ini

Dependencies:
  • PEAR Package: PEAR Installer
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PEAR Package: MIME_Type (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Extension: pgsql (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.1.0RC3Download

Release date: 2005-08-01 08:29 UTC
Release state: beta

Changelog:

RC3:
====
* Added missing support to set 'max age' for cache control through constructor and setParams()
* Added missing support to set 'send 404' for missing files through constructor and setParams()
+ Added public sentBytes property, containing the amount of bytes (body only) sent to the client

RC2:
====
* Added missing support for proprietary Unless-Modified-Since header (IE)
+ Improved comparisons of last modification date
+ Implemeted modified Request #4754; possibility to define max-age cache control parameter

RC1:
====
* Fixed bug #4343: usleep() was called with milliseconds instead of microseconds
if throttling was enabled
* Fixed bug #4049: fatal error if a non-existant file was specified in
constructor parameters

+ Implemented request #3283 - try to use MIME_Type to guess content type
+ Implemented request #3960 - allow zlib.output_compression in php.ini

Dependencies:
  • PEAR Package: PEAR Installer
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PEAR Package: MIME_Type (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Extension: pgsql (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.1.0RC2Download

Release date: 2005-07-18 10:00 UTC
Release state: beta

Changelog:

RC2:
====
* Added missing support for proprietary Unless-Modified-Since header (IE)
* Improved comparisons of last modification date
* Implemeted modified Request #4754; possibility to define max-age cache control parameter

RC1:
====
* Fixed bug #4343: usleep() was called with milliseconds instead of microseconds
if throttling was enabled
* Fixed bug #4049: fatal error if a non-existant file was specified in
constructor parameters

+ Implemented request #3283 - try to use MIME_Type to guess content type
+ Implemented request #3960 - allow zlib.output_compression in php.ini

Dependencies:
  • PEAR Package: PEAR Installer
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.1.0RC1Download

Release date: 2005-05-20 14:27 UTC
Release state: beta

Changelog:

* Fixed bug #4343: usleep() was called with milliseconds instead of microseconds
if throttling was enabled
* Fixed bug #4049: fatal error if a non-existant file was specified in
constructor parameters

+ Implemented request #3283 - try to use MIME_Type to guess content type
+ Implemented request #3960 - allow zlib.output_compression in php.ini

Dependencies:
  • PEAR Package: PEAR Installer
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.0.0Download

Release date: 2005-03-25 10:49 UTC
Release state: stable

Changelog:

* Fixed bug where no body has been sent on NSAPI (PHP bug 32424)

Dependencies:
  • PEAR Package: PEAR Installer
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.0.0RC6Download

Release date: 2005-02-08 13:42 UTC
Release state: beta

Changelog:

* Fixed Bug #3247 - set_time_limit() warning in safe_mode
* Fixed Bug #3263 - Acrobat Reader hangs on multiple ranges
* Throttle delay may now be supplied as float (enables delays in msecs)
* Removed "Connection: close" header
* Cache-Control is now configurable (private/public)
* Moved (seldom used) code of sendArchive() into its own class
HTTP_Download_Archive (method sendArchive() still available for BC)

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.0.0RC5Download

Release date: 2005-01-24 19:13 UTC
Release state: beta

Changelog:

* Fixed Bug #3247 - set_time_limit() warning in safe_mode
* Fixed Bug #3263 - Acrobat hangs on multiple ranges

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.0.0RC4Download

Release date: 2005-01-19 10:24 UTC
Release state: beta

Changelog:

4th RC for stable release
* Fixed Bug #3231 - duplicate else in generateETag()

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.0.0RC3Download

Release date: 2005-01-17 17:41 UTC
Release state: beta

Changelog:

3rd RC for stable release
* Fixed Bug #2110 - long delay until "Save as..." popup
* Fixed Bug #3194 - problems with "uncached" downloads in IE6
+ Applied throttling mechanism to the "send data" functionality

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.0.0RC2Download

Release date: 2004-12-22 08:12 UTC
Release state: beta

Changelog:

2nd RC for stable release
* Bundled PgLOB stream wrapper (sending PgSQL BLOBs through setResource())
* ETag is now customizable through setEtag()
* Now using md5(serialize(stat($file))) instead of md5_file($file) for etag generation
* Fixed Bug #2998 - Typo in error constant name in guessContentType()

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
1.0.0RC1Download

Release date: 2004-12-01 14:23 UTC
Release state: beta

Changelog:

1st RC for stable release

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PEAR Package: Archive_Zip (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
0.10.0Download

Release date: 2004-08-31 11:54 UTC
Release state: beta

Changelog:

Fixes:
======
* Adjusted cache headers to force IE to revalidate
* Attempt to fix Bug #2110 (long delay until "Save as..." popup)

Features:
=========
+ Added the possibility to send HTTP responses
without a "Content-Disposition" header
+ Implemented kind of a throttling mechanism
This can be done by setting $bufferSize through
HTTP_Download::setBufferSize($bytes) and adjusting $throttleDelay
through HTTP_Download::setThrottleDelay($seconds), e.g. a
buffer size of 25600 bytes and a throttle delay of 1 second
will lead to a download rate of approximatly 25 KB/s.

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
0.9.0Download

Release date: 2004-07-19 18:38 UTC
Release state: beta

Changelog:

+ Now a Content-Length header is sent if the whole uncompressed
download is delivered. (satisfying some download accelerators)
+ Added support for ZIP archives through Archive_ZIP (CVS only)

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
0.8.1Download

Release date: 2004-07-08 19:52 UTC
Release state: beta

Changelog:

* Internet Explorer depends on a Pragma header
(While it worked fine for me, many people reported this problem)

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
0.8.0Download

Release date: 2004-06-07 18:30 UTC
Release state: beta

Changelog:

+ Caching of the download is now optional and can be configured.

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
0.7.0Download

Release date: 2004-05-04 14:44 UTC
Release state: beta

Changelog:

+ Implemented HTTP/1.1 compliant range support (includes support for multiple range requests like: "Range: bytes=1224-2247,7448-10223,536-747" served as multipart/byteranges)
+ Added support for the ETag response header as well as If-Match and If-None-Match request header (caching purposes)
* Updated required PHP version to 4.2.0

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Archive_Tar (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
0.6.2Download

Release date: 2004-04-20 12:26 UTC
Release state: beta

Changelog:

* Bugfix for combined HTTP range header (combined range headers are ignored)

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.0.4 or newer
  • PEAR Package: Archive_Tar (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
0.6.1Download

Release date: 2004-03-25 19:10 UTC
Release state: beta

Changelog:

Added two additional parameters to sendArchive(), $add_path and $strip_path, which have the same meaning as of Archive_Tar::createModify().
That means if you want to send the directory '/var/ftp/pub/mike' you could define $strip_path as '/var/ftp/pub' so that the files of the archive have only 'mike' as directory.

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.0.4 or newer
  • PEAR Package: Archive_Tar (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
0.6.0Download

Release date: 2004-03-18 16:35 UTC
Release state: beta

Changelog:

* Added static method HTTP_Download::sendArchive()

Dependencies:
  • PEAR Package: PEAR
  • PEAR Package: HTTP_Header
  • PHP Extension: pcre
  • PHP Version: PHP 4.0.4 or newer
  • PEAR Package: Archive_Tar (optional)
  • PHP Extension: mime_magic (optional)
  • PHP Version: PHP 4.3.0 or newer (optional)
0.5.2Download

Release date: 2004-02-24 10:56 UTC
Release state: beta

Changelog:

* Fixed HTTP range support (not completely HTTP compliant)
* Fixed bug where wrong 'Content-Length' header was sent if download gets gzipped
* Suppress warning if sessions are used and download gets gzipped

Dependencies:
0.5.1Download

Release date: 2003-12-30 10:01 UTC
Release state: beta

Changelog:

* Send cache-control headers if download is cached (Andreas Korthaus)
* Fixed a bug in the sanity check of HTTP Range headers (Maxim Matyukhin)

Dependencies:
0.5Download

Release date: 2003-12-19 20:34 UTC
Release state: beta

Changelog:

* Bugfixes for use with HTTP_Header >= 0.1.5 (Bug #461)
* Don't return a PEAR_Error if download is cached (spotted by Andreas Korthaus)
* Added error constants

Dependencies:
0.4Download

Release date: 2003-11-25 18:50 UTC
Release state: beta

Changelog:

* Bugfix (HTTP): 'Last-Modified' was sent as unix timestamp instead of HTTP date
* Bugfix (HTTP Range): conditional GET requests didn't come through because of wrong 'Last-Modified'
* Bugfix (HTTP Range): 'Content-Length' MUST contain the ACTUAL length of the body
* Bugfix (HTTP Range): 'Content-Range' was sent incorrectly (though Apache usually overrules that)
* Bugfix (HTTP Range): 'HTTP 200 Ok' was sent instead of 'HTTP 206 Partial Content' (though Apache usually overrules that)

* Modified the PCRE of setContentType() to allow additions like '; charset=UTF-8'
* Added a check if ext/mime_magic is configured with a valid filename (avoiding fatal error)

Dependencies:
0.3Download

Release date: 2003-11-15 16:01 UTC
Release state: beta

Changelog:

* License updated to PHP License 3.0
* State changed from alpha to beta

Dependencies:
0.2Download

Release date: 2003-11-04 12:18 UTC
Release state: alpha

Changelog:

* Fixed a minor typo
* Removed the reference from HTTP_Download::setResource(&$handle)

Dependencies:
0.1Download

Release date: 2003-10-03 18:18 UTC
Release state: alpha

Changelog:

Initial release.

Dependencies: