aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/authentication.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2013-01-02 14:02:41 +1300
committerAldo Cortesi <aldo@nullcube.com>2013-01-02 14:02:41 +1300
commit7b3d3dc85e9618f4b16f2c81a37429ebdaf5ebf2 (patch)
tree72df7de0fd1b62ad4fb489fc7e0616bf79dcca4f /libmproxy/authentication.py
parente93b343ac4917979f912afe5a2f0bbc8be0b28d7 (diff)
downloadmitmproxy-7b3d3dc85e9618f4b16f2c81a37429ebdaf5ebf2.tar.gz
mitmproxy-7b3d3dc85e9618f4b16f2c81a37429ebdaf5ebf2.tar.bz2
mitmproxy-7b3d3dc85e9618f4b16f2c81a37429ebdaf5ebf2.zip
Documentation, setup.py updates, styling.
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]