Disabled auto decompression for security reasons

This commit is contained in:
2025-09-03 19:47:52 +02:00
parent 39b4ee7a00
commit e355999c53

View File

@@ -17,6 +17,7 @@ async def check_service(client: aiohttp.ClientSession, s: service) -> log:
ssl=True if s.public_access else False,
allow_redirects=True,
timeout=timeout,
auto_decompress=False,
)
case 1:
r = await client.get(
@@ -24,6 +25,7 @@ async def check_service(client: aiohttp.ClientSession, s: service) -> log:
ssl=True if s.public_access else False,
allow_redirects=True,
timeout=timeout,
auto_decompress=False,
)
case _:
raise Exception("UNKNOWN PING TYPE")