diff options
Diffstat (limited to 'netlib/http')
-rw-r--r-- | netlib/http/response.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/netlib/http/response.py b/netlib/http/response.py index 8af3c041..5fce4d79 100644 --- a/netlib/http/response.py +++ b/netlib/http/response.py @@ -103,13 +103,3 @@ class Response(Message): def set_cookies(self, odict): # pragma: no cover warnings.warn(".set_cookies is deprecated, use .cookies instead.", DeprecationWarning) self.cookies = odict - - @property - def msg(self): # pragma: no cover - warnings.warn(".msg is deprecated, use .reason instead.", DeprecationWarning) - return self.reason - - @msg.setter - def msg(self, reason): # pragma: no cover - warnings.warn(".msg is deprecated, use .reason instead.", DeprecationWarning) - self.reason = reason |