mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-19 01:49:32 +08:00
7 lines
160 B
Python
7 lines
160 B
Python
def teardown_hook_set_encoding(response, encoding):
|
|
"""
|
|
Set encoding of response.
|
|
"""
|
|
response.resp_obj.encoding = encoding
|
|
return response
|