aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/authentication.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/authentication.py')
-rw-r--r--libmproxy/authentication.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/authentication.py b/libmproxy/authentication.py
index 1f1f40ae..500ead6b 100644
--- a/libmproxy/authentication.py
+++ b/libmproxy/authentication.py
@@ -12,7 +12,7 @@ class NullProxyAuth():
def clean(self, headers):
"""
Clean up authentication headers, so they're not passed upstream.
- """
+ """
pass
def authenticate(self, headers):
@@ -33,7 +33,7 @@ class BasicProxyAuth(NullProxyAuth):
AUTH_HEADER = 'Proxy-Authorization'
def __init__(self, password_manager, realm):
NullProxyAuth.__init__(self, password_manager)
- self.realm = realm
+ self.realm = realm
def clean(self, headers):
del headers[self.AUTH_HEADER]