diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2018-02-24 15:45:12 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2018-02-24 15:45:12 +1300 |
commit | 704c1db1b7aa25c4ee6371bec811e92409b92398 (patch) | |
tree | c0cb32622569af0e0dc56e85e7c20486e6eaa05b /mitmproxy/test | |
parent | 12633adeb9cbe3a81df2f6dfd9b739eae26bdcba (diff) | |
download | mitmproxy-704c1db1b7aa25c4ee6371bec811e92409b92398.tar.gz mitmproxy-704c1db1b7aa25c4ee6371bec811e92409b92398.tar.bz2 mitmproxy-704c1db1b7aa25c4ee6371bec811e92409b92398.zip |
addon options: setheaders, stickyauth
Diffstat (limited to 'mitmproxy/test')
-rw-r--r-- | mitmproxy/test/taddons.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/test/taddons.py b/mitmproxy/test/taddons.py index 7efa2eaf..5930e414 100644 --- a/mitmproxy/test/taddons.py +++ b/mitmproxy/test/taddons.py @@ -68,7 +68,7 @@ class context: self.wrapped = None for a in addons: - self.master.addons.register(a) + self.master.addons.add(a) def ctx(self): """ |