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])

Beschreibung

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

Returns a PEAR_Error if ext/zlib is not available.

Parameter

Rückgabewert

Gibt bei Erfolg TRUE zurück, bei einem Fehler ein Objekt der Klasse PEAR_Error.

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.