Re: Package Proposal: HTTP_Download
| From: | Christian Stocker | Date: | Tue, 06 May 2003 16:26:09 +0000 |
| Subject: | Re: Package Proposal: HTTP_Download | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15948@lists.php.net to get a copy of this message | ||
Hi
I'm totally against breaking BC of HTTP_Request. Even with a 2.0
release..
Do avoid bloat: couldn't it be possible to make your code an extension
to HTTP_Request (either with extending or somehow else )?
I'm currently very busy with other stuff, so I can't invest much time in
trying to merge both codes... But a solution to it would be very
appreciated :)
chregu
On Mon, 2003-05-05 at 15:29, Stefan Walk wrote:
> 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
--
christian stocker | bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid
0x5CE1DECB