diff --git a/fullykiosk/__init__.py b/fullykiosk/__init__.py index d264d7d..f1d2b57 100644 --- a/fullykiosk/__init__.py +++ b/fullykiosk/__init__.py @@ -165,7 +165,7 @@ async def get(self, **kwargs): raise FullyKioskError(response.status, await response.text()) content_type = response.headers['Content-Type'] - if content_type.startswith("image/"): + if content_type.startswith("image/") or content_type == "application/octet-stream": return await response.content.read() data = await response.json(content_type=content_type)