aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/dump.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-07-17 17:36:13 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-07-17 18:41:14 +1200
commit216e38d437ab30cca30e33f2858c0f886bde0e9c (patch)
tree3effb609e5e6ab69fa4aedba37a02a2a7015ec6f /mitmproxy/dump.py
parent61d6345f2201a2727ee30bfc4eb57e6479e04c04 (diff)
downloadmitmproxy-216e38d437ab30cca30e33f2858c0f886bde0e9c.tar.gz
mitmproxy-216e38d437ab30cca30e33f2858c0f886bde0e9c.tar.bz2
mitmproxy-216e38d437ab30cca30e33f2858c0f886bde0e9c.zip
setheaders -> addon
Diffstat (limited to 'mitmproxy/dump.py')
-rw-r--r--mitmproxy/dump.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py
index 65eb515b..eaa368a0 100644
--- a/mitmproxy/dump.py
+++ b/mitmproxy/dump.py
@@ -58,10 +58,6 @@ class DumpMaster(flow.FlowMaster):
"HTTP/2 is disabled. Use --no-http2 to silence this warning.",
file=sys.stderr)
- if options.setheaders:
- for i in options.setheaders:
- self.setheaders.add(*i)
-
if options.server_replay:
self.start_server_playback(
self._readflow(options.server_replay),