diff options
| author | Jordan Cook <jordan.cook@pioneer.com> | 2021-10-23 10:39:56 -0500 |
|---|---|---|
| committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-10-23 11:13:40 -0500 |
| commit | f43c0cb1f03b579f2620673ce80ee14c785dfd6f (patch) | |
| tree | 40bf304496146dbf5d2abdb0fd9ca2546667c497 /requests_cache/models | |
| parent | c23c5e831374977ff99d0e5df87dab2688ddbbfd (diff) | |
| download | requests-cache-f43c0cb1f03b579f2620673ce80ee14c785dfd6f.tar.gz | |
Move response content reset to DictStorage.__getitem__(), since that's the only place it's used
Diffstat (limited to 'requests_cache/models')
| -rwxr-xr-x | requests_cache/models/response.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/requests_cache/models/response.py b/requests_cache/models/response.py index d7fa3df..70a3ec0 100755 --- a/requests_cache/models/response.py +++ b/requests_cache/models/response.py @@ -100,10 +100,6 @@ class CachedResponse(Response): self.expires = get_expiration_datetime(expire_after) return self.is_expired - def reset(self): - if self.raw: - self.raw.reset() - @property def size(self) -> int: """Get the size of the response body in bytes""" |
