diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2016-07-16 13:00:33 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2016-07-16 18:37:30 +1200 |
| commit | 1a1f7e6fd94b434c4440d3cbc9407dbe3e0db6f9 (patch) | |
| tree | 67ddc039e51fbfab1120bac7d40603d00db3dbb3 /mitmproxy/dump.py | |
| parent | 17305643bc482c0b185eec5c64d506790cd26587 (diff) | |
| download | mitmproxy-1a1f7e6fd94b434c4440d3cbc9407dbe3e0db6f9.tar.gz mitmproxy-1a1f7e6fd94b434c4440d3cbc9407dbe3e0db6f9.tar.bz2 mitmproxy-1a1f7e6fd94b434c4440d3cbc9407dbe3e0db6f9.zip | |
replacehooks -> addon
Also fixes a bug in header replacements in netlib that resulted in a mutable
multidict.
Diffstat (limited to 'mitmproxy/dump.py')
| -rw-r--r-- | mitmproxy/dump.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py index 18c24d61..de63ca10 100644 --- a/mitmproxy/dump.py +++ b/mitmproxy/dump.py @@ -69,10 +69,6 @@ class DumpMaster(flow.FlowMaster): else: self.filt = None - if options.replacements: - for i in options.replacements: - self.replacehooks.add(*i) - if options.setheaders: for i in options.setheaders: self.setheaders.add(*i) |
