Fix manual encoding provided by user

This commit is contained in:
G Johansson 2024-06-06 13:09:20 +00:00
parent 6e8d6f5994
commit 27f8f71b87

View file

@ -107,6 +107,7 @@ class RestData:
timeout=self._timeout,
follow_redirects=True,
)
response.encoding = self._encoding
self.data = response.text
self.headers = response.headers
except httpx.TimeoutException as ex: