Home » HTTP » HTTP_Download
Send HTTP Downloads
This package is unmaintained.
Download latest release 1.1.4 (archived versions might be outdated)
License: BSD, revised
Description
Provides an interface to easily send hidden files or any arbitrary data to
HTTP clients. HTTP_Download can gain its data from variables, files or
stream resources.
It features:
- Basic caching capabilities
- Basic throttling mechanism
- On-the-fly gzip-compression
- Ranges (partial downloads and resuming)
- Delivery of on-the-fly generated archives through Archive_Tar and Archive_Zip
- Sending of PgSQL LOBs without the need to read all data in prior to sending
Documentation
Maintainers
- Philippe Jausions (jausions) — lead, active
- Michael Wallner (mike) — lead, inactive
Dependencies
Required
- PHP (>= 4.2.0)
- PEAR Installer (>= 1.6.0)
- PEAR
- HTTP_Header
- pcre (extension)
Optional
- Archive_Tar
- Archive_Zip
- MIME_Type
- mime_magic (extension)
- pgsql (extension)
Releases
- 1.1.4 (stable, 2010-10-15)
Release notes
License: BSD, revised
+ To play nice with stream without known size (Req #13121)
+ getRanges() too lax (Bug #13124)
+ HTTP protocol specification mis-implementation (Bug #13125)
+ No HTTP error when PHP can't read source file (Bug #16060)
QA release
DIR layout - 1.1.3 (stable, 2007-10-31)
Release notes
License: BSD, revised
* Fixed bug #12174 (ob_flush in sendHeaders causes error message)
- 1.1.2 (stable, 2007-05-02)
- 1.1.1 (stable, 2006-01-07)
- 1.1.0 (stable, 2005-11-14)
- 1.1.0RC3 (beta, 2005-08-01)
- 1.1.0RC2 (beta, 2005-07-18)
- 1.1.0RC1 (beta, 2005-05-20)
- 1.0.0 (stable, 2005-03-25)
- 1.0.0RC6 (beta, 2005-02-08)
- 1.0.0RC5 (beta, 2005-01-24)
- 1.0.0RC4 (beta, 2005-01-19)
- 1.0.0RC3 (beta, 2005-01-17)
- 1.0.0RC2 (beta, 2004-12-22)
- 1.0.0RC1 (beta, 2004-12-01)
- 0.10.0 (beta, 2004-08-31)
- 0.9.0 (beta, 2004-07-19)
- 0.8.1 (beta, 2004-07-08)
- 0.8.0 (beta, 2004-06-07)
- 0.7.0 (beta, 2004-05-04)
- 0.6.2 (beta, 2004-04-20)
- 0.6.1 (beta, 2004-03-25)
- 0.6.0 (beta, 2004-03-18)
- 0.5.2 (beta, 2004-02-24)
- 0.5.1 (beta, 2003-12-30)
- 0.5 (beta, 2003-12-19)
- 0.4 (beta, 2003-11-25)
- 0.3 (beta, 2003-11-15)
- 0.2 (alpha, 2003-11-04)
- 0.1 (alpha, 2003-10-03)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #461 | Closed | Bug | 2003-12-19 | HTTP_Download doesn't work with HTTP_Header-0.1.5 | |
| #2110 | Closed | Bug | 2004-08-11 | long delay until "Save as..." popup | |
| #2708 | Bogus | Bug | 2004-11-06 | Last-modified date not applied | |
| #2998 | Closed | Bug | 2004-12-20 | Typo | |
| #3192 | Bogus | Bug | 2005-01-13 | Downloading with IE SP2 causes file block check | |
| #3194 | Closed | Bug | 2005-01-13 | Setting Cache to False blocks downloads | |
| #3209 | Bogus | Bug | 2005-01-14 | Password Protected PDF File Issue | |
| #3231 | Closed | Bug | 2005-01-18 | duplicate else in generateETag() | |
| #3247 | Closed | Bug | 2005-01-19 | set_time_limit() warning when safe_mode is on | |
| #3263 | Closed | Bug | 2005-01-21 | Acrobat hangs on multiple ranges | |
| #3283 | Closed | Req | 2005-01-24 | Use PEAR MIME_Type for guessContentType() | |
| #3313 | Closed | Bug | 2005-01-27 | cannot require HTTP_DOWNLOAD | |
| #3960 | Closed | Req | 2005-03-25 | Allow zlib.output_compression in php.ini | |
| #4049 | Closed | Bug | 2005-04-04 | Fatal error: Call to a member function on a non-object in /usr/share/pear/HTTP/ | |
| #4304 | Closed | Bug | 2005-05-07 | Apache Process hangs after calling HTTP_Download::send() | |
| #4343 | Closed | Bug | 2005-05-13 | Throttle delay is not set correctly | |
| #4540 | Bogus | Bug | 2005-06-06 | Cache control not properly using max-age | |
| #4754 | Closed | Req | 2005-07-05 | [PATCH] Add cache length to API | |
| #5949 | Closed | Bug | 2005-11-13 | pass-by-reference error | |
| #6432 | Closed | Bug | 2006-01-06 | php5 Fatal error Only variables can be passed by reference | |
| #7462 | Wont fix | Req | 1.1.1 | 2006-04-23 | sendHeader() |
| #7659 | Bogus | Bug | 1.1.1 | 2006-05-18 | strlen() wrongly used to count number of bytes in data buffer |
| #8039 | Bogus | Bug | 1.1.1 | 2006-06-26 | Using HTTP_Download with Send a hidden file and streams |
| #9285 | Bogus | Req | CVS | 2006-11-08 | Respond to HTTP HEAD Request |
| #9670 | Assigned | Bug | CVS | 2006-12-21 | Notice: ob_end_clean(): failed to delete buffer |
| #10497 | Closed | Bug | 1.1.1 | 2007-03-25 | resuming downloads don't send Length |
| #12174 | Closed | Bug | 1.1.2 | 2007-10-02 | ob_flush in sendHeaders causes error message |
| #12372 | Feedback | Req | 1.1.3 | 2007-11-01 | Need a way to set the Expires header |
| #12425 | Wont fix | Bug | 1.1.3 | 2007-11-11 | Don't download file that size bigger that 2GB. |
| #12804 | Closed | Bug | 1.1.3 | 2008-01-01 | Fatal Error - Out of memory |
| #12805 | Duplicate | Bug | 1.1.3 | 2008-01-01 | Fatal Error - Out of memory |
| #13121 | Closed | Req | 1.1.3 | 2008-02-15 | To play nice with stream without known size |
| #13124 | Closed | Bug | CVS | 2008-02-15 | getRanges() too lax |
| #13125 | Closed | Bug | CVS | 2008-02-15 | HTTP protocol specification mis-implementation |
| #16060 | Closed | Bug | 1.1.3 | 2009-04-01 | no HTTP error when php can't read source file |
| #16100 | Open | Bug | 1.1.3 | 2009-04-15 | Dowload of aribitrary zip-files not work with IE 7.0 |
| #16101 | Duplicate | Bug | 1.1.3 | 2009-04-15 | Dowload of aribitrary zip-files not work with IE 7.0 |
| #16102 | Duplicate | Bug | 1.1.3 | 2009-04-15 | Dowload of aribitrary zip-files not work with IE 7.0 |
| #17418 | Wont fix | Bug | 1.1.3 | 2010-05-20 | Deprecated warnings in PHP 5.3 |
| #17703 | Closed | Bug | 1.1.3 | 2010-08-14 | MimeType validated incorrectly |
| #18237 | Spam | Bug | 1.1.4 | 2011-02-04 | s |
| #18912 | Wont fix | Req | 1.1.4 | 2011-10-17 | PHP5 E_strict fixes for Pear::isError |
| #18981 | Closed | Bug | 1.1.4 | 2011-11-11 | $dl->setData('') results in an infinite loop |
| #19122 | Closed | Bug | SVN | 2011-12-10 | upgrade PHPUnit require statements (for PEAR QA Team) |
| #19207 | Open | Req | 1.1.4 | 2012-01-09 | Content-length isnt sent if a non obtrusive ob_handler is also loaded |
| #19458 | Open | Bug | 1.1.4 | 2012-06-06 | sendChunk not sending last payload when size equals multiple of bufferSize |
| #19656 | Open | Bug | 1.1.4 | 2012-10-19 | Assigning the return value of new by reference is deprecated |