diff options
| author | Jordan Cook <jordan.cook@pioneer.com> | 2022-04-20 13:37:56 -0500 |
|---|---|---|
| committer | Jordan Cook <jordan.cook@pioneer.com> | 2022-04-20 14:32:31 -0500 |
| commit | ca12fbb97b65ba22199acbb6a41efbcd67082cc5 (patch) | |
| tree | 51094d81773981fd925ab7bb70fae78c5d86640e /requests_cache/models | |
| parent | d6c5fcfaaa312ccd5b2e65db7338b9d83a9b5ea5 (diff) | |
| download | requests-cache-ca12fbb97b65ba22199acbb6a41efbcd67082cc5.tar.gz | |
Add misc missing test coverage
Diffstat (limited to 'requests_cache/models')
| -rw-r--r-- | requests_cache/models/raw_response.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requests_cache/models/raw_response.py b/requests_cache/models/raw_response.py index 27f871f..9c01b88 100644 --- a/requests_cache/models/raw_response.py +++ b/requests_cache/models/raw_response.py @@ -75,7 +75,7 @@ class CachedHTTPResponse(HTTPResponse, RichMixin): :py:meth:`urllib3.response.HTTPResponse.read()` """ if 'content-encoding' in self.headers and decode_content is False: - logger.warning('read() returns decoded data, even with decode_content=False') + logger.warning('read(decode_content=False) is not supported for cached responses') data = self._fp.read(amt) # "close" the file to inform consumers to stop reading from it |
