Skip to content

Commit ed7a7b7

Browse files
authored
chore: Decode async HTTP transport responses strictly (#489)
1 parent f9c76ee commit ed7a7b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ldclient/impl/aio/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async def request(
9191
timeout=timeout,
9292
proxy=self._proxy or _get_proxy_url(uri),
9393
) as response:
94-
text = await response.text(encoding='UTF-8', errors='replace')
94+
text = await response.text(encoding='UTF-8')
9595
return TransportResponse(response.status, response.headers, text)
9696

9797
async def close(self) -> None:

0 commit comments

Comments
 (0)