HTTP_Download::setResource | HTTP_Download::setCache |
HTTP_Download | |
PEAR Manual | |
mixed
HTTP_Download::setGzip
(
bool
$gzip = false
)
Define whether you want to send the download gzipped or not.
Returns a PEAR_Error if ext/zlib is not available.
bool $gzip = false - whether to gzip the download on the fly
Returns TRUE on success, PEAR_Error on failure.
This function can not be called statically.
HTTP_Download::setResource | HTTP_Download::setCache |
HTTP_Download | |
PEAR Manual | |