MCPcopy
hub / github.com/pallets/werkzeug / get_data

Method get_data

src/werkzeug/wrappers/response.py:263–263  ·  view source on GitHub ↗
(self, as_text: t.Literal[False] = False)

Source from the content-addressed store, hash-verified

261
262 @t.overload
263 def get_data(self, as_text: t.Literal[False] = False) -> bytes: ...
264
265 @t.overload
266 def get_data(self, as_text: t.Literal[True]) -> str: ...

Callers 8

get_jsonMethod · 0.95
add_etagMethod · 0.95
test_base_responseFunction · 0.95
test_etag_responseFunction · 0.95
test_etag_response_412Function · 0.95
test_response_streamFunction · 0.95
test_stream_zipFunction · 0.95

Calls 2

_ensure_sequenceMethod · 0.95
iter_encodedMethod · 0.95

Tested by 6

test_base_responseFunction · 0.76
test_etag_responseFunction · 0.76
test_etag_response_412Function · 0.76
test_response_streamFunction · 0.76
test_stream_zipFunction · 0.76