diff --git a/fullykiosk/__init__.py b/fullykiosk/__init__.py index 70d29d4..c7ff95c 100644 --- a/fullykiosk/__init__.py +++ b/fullykiosk/__init__.py @@ -168,7 +168,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)