aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/authentication.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-10-17 17:11:21 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-10-17 17:37:08 +1300
commitfb22f2ff4f75783ba786935c93b75f372ede21f5 (patch)
treea7055ebd090e11b163efa81b86086b7f88ca89e6 /netlib/http/authentication.py
parent666c59cbfbcbd28062c201c3cb5d6cb928e90aee (diff)
downloadmitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.tar.gz
mitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.tar.bz2
mitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.zip
Zap object base class
Diffstat (limited to 'netlib/http/authentication.py')
-rw-r--r--netlib/http/authentication.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/http/authentication.py b/netlib/http/authentication.py
index 58fc9bdc..ea24f754 100644
--- a/netlib/http/authentication.py
+++ b/netlib/http/authentication.py
@@ -23,7 +23,7 @@ def assemble_http_basic_auth(scheme, username, password):
return scheme + " " + v
-class NullProxyAuth(object):
+class NullProxyAuth():
"""
No proxy auth at all (returns empty challange headers)
@@ -90,7 +90,7 @@ class BasicProxyAuth(BasicAuth):
AUTH_HEADER = 'Proxy-Authorization'
-class PassMan(object):
+class PassMan():
def test(self, username_, password_token_):
return False