aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2016-04-03 10:14:06 +0200
committerThomas Kriechbaumer <Kriechi@users.noreply.github.com>2016-04-03 10:14:06 +0200
commit94342891ee17c1647e5071d6591ad413b6650473 (patch)
tree4dd7e1abd69c9ee2559d45fbdc3bfee4f8167039 /netlib
parenta267934d99e2e5d561a71ee3bc3944ddb6f6ce53 (diff)
parent35a6d6e7f67f8253a32a670a4629b530d7758650 (diff)
downloadmitmproxy-94342891ee17c1647e5071d6591ad413b6650473.tar.gz
mitmproxy-94342891ee17c1647e5071d6591ad413b6650473.tar.bz2
mitmproxy-94342891ee17c1647e5071d6591ad413b6650473.zip
Merge pull request #1072 from mitmproxy/remove-response-msg
response.msg -> response.reason
Diffstat (limited to 'netlib')
-rw-r--r--netlib/http/response.py10
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