HTTP_Download::setGzip()

HTTP_Download::setGzip() --  Whether to gzip the download on the fly or not. (requires ext/zlib)

Synopsis

mixed HTTP_Download::setGzip (bool [$gzip = false])

Description

Define whether you want to send the download gzipped or not.

Returns a PEAR_Error if ext/zlib is not available.

Paramètres

Valeur retournée

Retourne TRUE en cas de succès, un objet PEAR_Error en cas d'échec.

Note

Cette fonction ne peut pas être appelée de façon statique.