gabrielfalcao/HTTPretty — pull request #17 by mhluongo (2012-11-25 02:17:48+00:00)
Title: Fixed a couple bugs in yesterday's streaming HTTP support :)

The first was easy- generators for streaming bodies were being re-used, which is typically a bad idea.

The second might warrant discussion. When iterating over streaming responses in large chunks, I noticed that a response appeared to be of infinite length. The latest commit's message goes into the nitty-gritty, but fixing the bug required a change to `FakeSockFile`. It seemed like the earlier behavior was intentional, but the new behavior doesn't break the test suite... let me know if you think the change is suspect and I'll try to come up with something else.