I was not able to get this to work using mitmproxy 0.11.1, because every time I tried to edit the answer, the body would open in my text editor as the gzipped source. However, he worked in mitmproxy 0.11.3. Unfortunately, there are no release notes for releases 0.11.2 or 0.11.3.
i ~bs ( ) l ~bs, . , , , , e r . ASCII, raw gzipped. a, , -.
, , , mitmproxy.