Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix utils.is_fileobj for streaming responses from requests #805
Turns out that the utils.is_fileobj breaks for streamed responses from the requests library due to how we check for a fileno() function and the exception raised by urllib3.
Obvious fix is to add the IOError type to the exception list. PR to follow shortly.
added a commit
Jun 26, 2014
This bug can still be triggered by file-like objects which wrap objects without a
The simplest fix would be to add