benoitc/gunicorn — pull request #806 by davisp (2014-06-26 19:33:25+00:00)
Title: Fix check for file-like objects

The `is_fileobject()` function in utils.py would break when the respones
was a wrapped `HTTPResponse`'s `raw` attribute. This just adds the
`IOError` exception type to the `is_fileobject()` function so that the
response can be streamed normally.

Fixes #805