Merge pull request #23 from ThrowsException/remove-lru

remove lru cache from body property
This commit is contained in:
Gavin M. Roy 2019-09-20 15:41:55 -04:00 committed by GitHub
commit a0de81691c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,6 @@ requests.
""" """
import asyncio import asyncio
import functools
import logging import logging
import os import os
import time import time
@ -85,7 +84,6 @@ class HTTPResponse:
return len(self) return len(self)
@property @property
@functools.lru_cache(1)
def body(self): def body(self):
"""Returns the HTTP response body, deserialized if possible. """Returns the HTTP response body, deserialized if possible.