diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2016-07-02 03:03:42 -0700 | 
|---|---|---|
| committer | Maximilian Hils <git@maximilianhils.com> | 2016-07-02 03:03:42 -0700 | 
| commit | 2f8a1fd2cb1374941f436f36bbfa0d0b3d9213c7 (patch) | |
| tree | 6d30bf9d18306b2244017181832d87fd86bcc2d6 /netlib/http | |
| parent | d9f797e7e6936809171d9c99144fb5ded3ee131f (diff) | |
| download | mitmproxy-2f8a1fd2cb1374941f436f36bbfa0d0b3d9213c7.tar.gz mitmproxy-2f8a1fd2cb1374941f436f36bbfa0d0b3d9213c7.tar.bz2 mitmproxy-2f8a1fd2cb1374941f436f36bbfa0d0b3d9213c7.zip | |
tests++
Diffstat (limited to 'netlib/http')
| -rw-r--r-- | netlib/http/message.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/netlib/http/message.py b/netlib/http/message.py index 28278bd2..ca3a4145 100644 --- a/netlib/http/message.py +++ b/netlib/http/message.py @@ -314,12 +314,12 @@ class decoded(object):      :py:attr:`raw_content` has the encoded content.      """ -    def __init__(self, message): +    def __init__(self, message):  # pragma no cover          warnings.warn("decoded() is deprecated, you can now directly use .content instead. "                        ".raw_content has the encoded content.", DeprecationWarning) -    def __enter__(self): +    def __enter__(self):  # pragma no cover          pass -    def __exit__(self, type, value, tb): +    def __exit__(self, type, value, tb):  # pragma no cover          pass | 
