diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:11:21 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:37:08 +1300 |
commit | fb22f2ff4f75783ba786935c93b75f372ede21f5 (patch) | |
tree | a7055ebd090e11b163efa81b86086b7f88ca89e6 /netlib/http | |
parent | 666c59cbfbcbd28062c201c3cb5d6cb928e90aee (diff) | |
download | mitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.tar.gz mitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.tar.bz2 mitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.zip |
Zap object base class
Diffstat (limited to 'netlib/http')
-rw-r--r-- | netlib/http/authentication.py | 4 | ||||
-rw-r--r-- | netlib/http/message.py | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/netlib/http/message.py b/netlib/http/message.py index e44faf18..9927daee 100644 --- a/netlib/http/message.py +++ b/netlib/http/message.py @@ -283,7 +283,7 @@ class Message(basetypes.Serializable): self.content = body -class decoded(object): +class decoded(): """ Deprecated: You can now directly use :py:attr:`content`. :py:attr:`raw_content` has the encoded content. |