Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/psf/cachecontrol
/ loads
Method
loads
tests/utils.py:14–17 ·
view source on GitHub ↗
(self, request, data, body_file=None)
Source
from the content-addressed store, hash-verified
12
return
response
13
14
def
loads(self, request, data, body_file=None):
15
if
data and getattr(data,
"chunked"
, False):
16
data.chunked = False
17
return
data
18
19
20
class
DummyResponse:
Callers
9
test_load_by_version_v0
Method · 0.45
test_load_by_version_v1
Method · 0.45
test_load_by_version_v2
Method · 0.45
test_load_by_version_v3
Method · 0.45
test_read_latest_version_streamable
Method · 0.45
test_read_latest_version
Method · 0.45
test_no_vary_header
Method · 0.45
test_no_body_creates_response_file_handle_on_dumps
Method · 0.45
test_vary_example
Method · 0.45
Calls
no outgoing calls
Tested by
9
test_load_by_version_v0
Method · 0.36
test_load_by_version_v1
Method · 0.36
test_load_by_version_v2
Method · 0.36
test_load_by_version_v3
Method · 0.36
test_read_latest_version_streamable
Method · 0.36
test_read_latest_version
Method · 0.36
test_no_vary_header
Method · 0.36
test_no_body_creates_response_file_handle_on_dumps
Method · 0.36
test_vary_example
Method · 0.36