ZF-1819: Support gzipped responses

Issue Type: Improvement Created: 2007-08-06T14:30:42.000+0000 Last Updated: 2009-02-12T15:53:50.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Ryan Boyd (rboyd) Assignee: Ryan Boyd (rboyd) Tags: - Zend_Gdata

Related issues: Attachments:


We should optionally allow the client to request a gzipped response from the GD client library. Architecture of this has to be investigated (service object, http client, etc).

In order to support getting a gzipped response, 'gzip' needs to be in the user-agent, but an accept-encoding header is also required to enable gzip.


Posted by Ryan Boyd (rboyd) on 2008-06-30T16:35:37.000+0000

This was resolved in svn rev 9846, 9849 along with the secure authsub support.

If the zlib module is installed (gzinflate function exists), and setGzipEnabled(true) is called, then an Accept-encoding: gzip header is added and the user-agent is modified to include the word 'gzip' (as required by Google's servers).

By default, gzipped responses are off.

Posted by Trevor Johns (tjohns) on 2009-02-12T15:53:50.000+0000

Marking as fixed for the 1.6.0 release.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.