ZF2-445: Gzip content not uncompressed
Description
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: http://robertbolton.com/blog/…
Comments
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