Beispiel #1
0
 def __get_response_content_as_str(self, response: HTTPResponse) -> str:
     encoding = response.info().get_content_charset("iso-8859-1")
     return response.read().decode(encoding)