HubSpot/hapipy — pull request #35 by graysky (2012-05-17 02:51:49+00:00)
Title: add gzip accepts header and handle uncompress on response

While investigating an issue this morning with truncated response bodies we noticed that hapi isn't requesting responses be compressed. Added default support for requesting response be gzip'd and ungzipping the body based on response headers.

All the tests continue to pass (with exception of a Prospects API test).

Feedback appreciated.