Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/aio-libs/aiohttp
/ test_ctor_charset_without_text
Function
test_ctor_charset_without_text
tests/test_web_response.py:749–752 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
747
748
749
def
test_ctor_charset_without_text():
750
resp = Response(content_type=
'text/plain'
, charset=
'koi8-r'
)
751
752
assert
'koi8-r'
== resp.charset
753
754
755
def
test_ctor_both_content_type_param_and_header_with_text():
Callers
nothing calls this directly
Calls
1
Response
Class · 0.90
Tested by
no test coverage detected