senko/tornado-proxy — pull request #1 by zhuzhuor (2012-06-13 05:04:30+00:00)
Title: Might be a bug in "hasattr(e, response)"

Thanks for sharing your excellent code. It works well in my case.

However, I might found a potential bug in the code.
Should the hasattr(e, response) use a string as its second parameter?
I just changed it to "hasattr(e, 'response')".