aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/message.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-07-21 20:10:06 -0700
committerGitHub <noreply@github.com>2016-07-21 20:10:06 -0700
commit9f0889d54151d681b854cff23a03c51cf2ed0afd (patch)
tree73302db920e0738a606131631b661feb9a132a7b /netlib/http/message.py
parent6dcdc89857f4459298b5e63f2e5c7dbc793e5a2d (diff)
parent798759d2b3974eaa7afbaab7c9678e8f66dc1be6 (diff)
downloadmitmproxy-9f0889d54151d681b854cff23a03c51cf2ed0afd.tar.gz
mitmproxy-9f0889d54151d681b854cff23a03c51cf2ed0afd.tar.bz2
mitmproxy-9f0889d54151d681b854cff23a03c51cf2ed0afd.zip
Merge pull request #1399 from mhils/fix-cv-cache-invalidation
Fix content view cache invalidation
Diffstat (limited to 'netlib/http/message.py')
-rw-r--r--netlib/http/message.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/netlib/http/message.py b/netlib/http/message.py
index 34709f0a..a86e7489 100644
--- a/netlib/http/message.py
+++ b/netlib/http/message.py
@@ -32,9 +32,6 @@ class MessageData(basetypes.Serializable):
def __ne__(self, other):
return not self.__eq__(other)
- def __hash__(self):
- return hash(frozenset(self.__dict__.items()))
-
def set_state(self, state):
for k, v in state.items():
if k == "headers":
@@ -77,9 +74,6 @@ class Message(basetypes.Serializable):
def __ne__(self, other):
return not self.__eq__(other)
- def __hash__(self):
- return hash(self.data) ^ 1
-
def get_state(self):
return self.data.get_state()