async def METHOD_NAME(http_response):
    for encoding in ["utf-8", "utf-8-sig", None]:
        res = _create_aiohttp_response(http_response, b"\xef\xbb\xbf56", {"Content-Type": "text/plain"})
        if is_rest(http_response):
            await res.read()
        assert res.text(encoding) == "56", "Encoding {} didn't work".format(encoding)