HTTP_Download::setGzip()

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

Referentiesamenvatting

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

Beschrijving

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

Returns a PEAR_Error if ext/zlib is not available.

Parameter

Return waarde

Geeft TRUE terug bij success, PEAR_Error als het faalt.

Note

Deze functie kan niet statisch worden aangeroepen.