Merge pull request #583 from willmiao/codex/analyze-zstd-content-encoding-error

fix: disable compression in default downloader headers
This commit is contained in:
pixelpaws
2025-10-22 10:21:17 +08:00
committed by GitHub

View File

@@ -70,7 +70,10 @@ class Downloader:
# Default headers
self.default_headers = {
'User-Agent': 'ComfyUI-LoRA-Manager/1.0'
'User-Agent': 'ComfyUI-LoRA-Manager/1.0',
# Explicitly request uncompressed payloads so aiohttp doesn't need optional
# decoders (e.g. zstandard) that may be missing in runtime environments.
'Accept-Encoding': 'identity',
}
@property