ZF2-445: Gzip content not uncompressed

Issue Type: Bug Created: 2012-08-02T22:31:47.000+0000 Last Updated: 2012-08-04T15:25:34.000+0000 Status: Resolved Fix version(s): Reporter: Thomas R. (thomas_r) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Http

  • accept-encoding
  • client
  • gzip
  • http

Related issues: Attachments:


Using Accept encoding of gzip, and receiving gzipped content with an http\client doesn't cause the data to be decompressed, and returns garbage. Instead you have to set the accept encoding to ''.

This existed in ZF1:…


Posted by Thomas R. (thomas_r) on 2012-08-04T15:24:33.000+0000

incorrect usage - use getBody instead of getContent on the Response object

Posted by Thomas R. (thomas_r) on 2012-08-04T15:25:34.000+0000

as above

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.