diff options
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r-- | libmproxy/proxy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index 5ec167d6..80040a03 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -303,6 +303,9 @@ class Response(controller.Msg): del i["expires"] return c.output(header="").strip() + def __hash__(self): + return id(self) + def refresh(self, now=None): """ This fairly complex and heuristic function refreshes a server |