Zend Framework

Support gzipped responses

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.6.0
  • Component/s: Zend_Gdata
  • Labels:
    None

Description

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.

Activity

Hide
Ryan Boyd added a comment -

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.

Show
Ryan Boyd added a comment - 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.
Hide
Trevor Johns added a comment -

Marking as fixed for the 1.6.0 release.

Show
Trevor Johns added a comment - Marking as fixed for the 1.6.0 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: