aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/dump.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-05 20:45:58 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-05 20:45:58 +0200
commit5125c669ccd2db5de5f90c66db61e64f63f3ba4c (patch)
tree6773ffcaada096f7e02c54665b733c1bad350e98 /libmproxy/dump.py
parent00561d280ccd4aac06b13b434e0aef4492148cb5 (diff)
downloadmitmproxy-5125c669ccd2db5de5f90c66db61e64f63f3ba4c.tar.gz
mitmproxy-5125c669ccd2db5de5f90c66db61e64f63f3ba4c.tar.bz2
mitmproxy-5125c669ccd2db5de5f90c66db61e64f63f3ba4c.zip
adjust to new netlib Headers class
Diffstat (limited to 'libmproxy/dump.py')
-rw-r--r--libmproxy/dump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/dump.py b/libmproxy/dump.py
index bf409803..17b47dd2 100644
--- a/libmproxy/dump.py
+++ b/libmproxy/dump.py
@@ -174,7 +174,7 @@ class DumpMaster(flow.FlowMaster):
def _print_message(self, message):
if self.o.flow_detail >= 2:
- print(self.indent(4, message.headers.format()), file=self.outfile)
+ print(self.indent(4, str(message.headers)), file=self.outfile)
if self.o.flow_detail >= 3:
if message.content == CONTENT_MISSING:
print(self.indent(4, "(content missing)"), file=self.outfile)