master #486

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

View File

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