mirror of
https://github.com/sprockets/sprockets.mixins.http.git
synced 2024-11-15 03:00:29 +00:00
Merge pull request #23 from ThrowsException/remove-lru
remove lru cache from body property
This commit is contained in:
commit
a0de81691c
1 changed files with 0 additions and 2 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue