kennethreitz/requests — pull request #958 by domoritz (2012-11-25 16:21:34+00:00)
Title: Add parameter to iter_content to disable content decoding

I wanted to use requests to transfer a file chunk by chunk. However, before I transferred the body, I copied a header from the original response to the new response. Since request decodes gzip and deflate, the header was wrong and my content couldn't be interpreted by the browser.

This patch adds an option to `iter_content.` to disable decoding of gzip or deflate content.