mitmproxy/mitmproxy — pull request #137 by caujka (2013-06-17 19:13:56+00:00)
Title: Handling for EOF reading error in gzipped content

Hi!
Today I had a crash in mitmproxy when I tried viewing some failed response. It was an unhandled EOFException in libmproxy/encoding.py, decode_gzip function.
Adding it to the except block seems the right thing to do.
Unfortunately, mitmproxy hanged the terminal as well, and I could not collect the session for further use/testing.