Package Proposal: HTTP_Download
| From: | Stefan Walk | Date: | Mon, 05 May 2003 13:29:51 +0000 |
| Subject: | Package Proposal: HTTP_Download | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-15885@lists.php.net to get a copy of this message | ||
Hi!
I'd like to propose a new Package for the HTTP Category,
HTTP_Download.
It allows you to download files over HTTP, reading their size prior to
downloading them (The URL fopen wrappers don't do that), and reading
them part-by-part, so you can watch the progress (The existing package
HTTP_Request stores the complete response in an Response object right
when sending the request). It's currently pretty coarse, I will add
error handling (4xx,5xx) and better support for redirections (atm, it
only supports redirections that conform to the HTTP/1.1 RFC, yet it does
happen that servers only send relative paths instead of absolute URIs).
You can view the source at
http://prp0.prp.physik.tu-darmstadt.de/~swalk/HTTP_Download/Download.html
DocBook documentation will follow when i'm familiar with the format.
Stefan Walk