Closed ytkimirti closed 10 months ago
Old rest api probably returned the binary result even thought it was invalid utf8. Hence the old code
assert await response.text() == r'{"result":"\x9e\x9d\x9c\x9b"}'
Currently if base64 encoding is not set, it returns � (replacement character), so the test fails.
Old rest api probably returned the binary result even thought it was invalid utf8. Hence the old code
Currently if base64 encoding is not set, it returns � (replacement character), so the test fails.