Re: Proposal: HTTP_Download (another tiny package :)

From: Date: Sun, 28 Sep 2003 19:08:34 +0000
Subject: Re: Proposal: HTTP_Download (another tiny package :)
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22147@lists.php.net to get a copy of this message
Hi Tomas V.V.Cox wrote: >> http://dev.iworks.at/PEAR/HTTP_Download/ > > Looks as a useful class. My comments if you want to hear them: Of course! > - Would be nice to make easier the API for setContentDisposition() > method. For ex: setContentDisposition($type, > $filename=basename($this->_file)); Well, I have had kinda this, let's see... > - It could support compressed sending (Content-Encoding: gzip), > negotiated automagically with against the $HTTP_ACCEPT_ENCODING. Yes, I had several problems with on-the-fly-compression of PHP when making downloads, so I've to figure that issues out first. > - The name for me, sounds as a client downloader class. I'd preffer a > more clear one, don't know, HTTP_Send, HTTP_SendFile, > HTTP_Server_Download, .. Well, I'd prefer -as proposed- HTTP_Download (as counter part to HTTP_Upload), but let's wait for other comments. Thanks, Michael

« previous php.pear.dev (#22147) next »