aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/models/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/models/http.py')
-rw-r--r--mitmproxy/models/http.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/mitmproxy/models/http.py b/mitmproxy/models/http.py
index ede05228..a2afe96d 100644
--- a/mitmproxy/models/http.py
+++ b/mitmproxy/models/http.py
@@ -166,9 +166,6 @@ class HTTPRequest(MessageMixin, Request):
def __hash__(self):
return id(self)
- def set_auth(self, auth):
- self.data.headers.set_all("Proxy-Authorization", (auth,))
-
def replace(self, pattern, repl, *args, **kwargs):
"""
Replaces a regular expression pattern with repl in the headers, the