PYTHON HttpResponse::setGzip

(0)
Python replacement for PHP's HttpResponse::setGzip [ edit ]



Do you know a Python replacement for PHP's HttpResponse::setGzip ? Write it!

PHP HttpResponse::setGzip

PHP original manual for HttpResponse::setGzip [ show | php.net ]

HttpResponse::setGzip

(PECL pecl_http >= 0.10.0)

HttpResponse::setGzipSet gzip

Description

static bool HttpResponse::setGzip ( bool $gzip )

Enable on-thy-fly gzip'ing of the sent entity.

Parameters

gzip

whether GZip compression should be enabled

Return Values

Returns TRUE on success or FALSE on failure.

See Also