diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-05 20:45:58 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-05 20:45:58 +0200 |
commit | 5125c669ccd2db5de5f90c66db61e64f63f3ba4c (patch) | |
tree | 6773ffcaada096f7e02c54665b733c1bad350e98 /libmproxy/dump.py | |
parent | 00561d280ccd4aac06b13b434e0aef4492148cb5 (diff) | |
download | mitmproxy-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.py | 2 |
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) |