ZF2-445: Gzip content not uncompressed


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/…


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

as above