MCPcopy
hub / github.com/aio-libs/aiohttp / test_content_length_setter

Function test_content_length_setter

tests/test_web_response.py:48–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def test_content_length_setter():
49 resp = StreamResponse()
50
51 resp.content_length = 234
52 assert 234 == resp.content_length
53
54
55def test_drop_content_length_header_on_setting_len_to_None():

Callers

nothing calls this directly

Calls 1

StreamResponseClass · 0.90

Tested by

no test coverage detected