aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/builtins/stickyauth.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/builtins/stickyauth.py')
-rw-r--r--mitmproxy/builtins/stickyauth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/builtins/stickyauth.py b/mitmproxy/builtins/stickyauth.py
index 9e5a928f..18b43967 100644
--- a/mitmproxy/builtins/stickyauth.py
+++ b/mitmproxy/builtins/stickyauth.py
@@ -22,6 +22,6 @@ class StickyAuth:
host = flow.request.host
if "authorization" in flow.request.headers:
self.hosts[host] = flow.request.headers["authorization"]
- elif flowfilter.match(flow, self.flt):
+ elif flowfilter.match(self.flt, flow):
if host in self.hosts:
flow.request.headers["authorization"] = self.hosts[host]