PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
mixed HTTP_Download::setGzip (bool [$gzip = false])
mixed HTTP_Download::setGzip
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.