kennethreitz/requests — pull request #856 by mastahyeti (2012-09-13 15:12:12+00:00)
Title: adds Response.__len__ #854

I think it should be okay to use response headers for content length, falling back on len(response.content) if they aren't provided. I tested this against httpbin('stream') and it seems okay.