netgis_map_client_update #452

Merged
mpeltriaux merged 11 commits from netgis_map_client_update into master 2025-10-12 11:31:38 +02:00
Showing only changes of commit 24518465f3 - Show all commits

View File

@ -50,7 +50,10 @@ class BaseClientProxyView(View):
)
content = response.content
if isinstance(content, bytes):
content = content.decode("utf-8")
try:
content = content.decode("utf-8")
except UnicodeDecodeError:
content = f"Can not decode content of {url}"
return content, response.status_code