[networking] Add support for zstandard content-encoding

Supported by urllib/requests/curl_cffi

Authored-by: coletdjnz
This commit is contained in:
coletdjnz
2024-07-14 18:20:03 +12:00
parent 8531d2b03b
commit aec3cc3218
6 changed files with 97 additions and 14 deletions
+4
View File
@@ -22,6 +22,10 @@ else:
if not _path_exists(certifi.where()):
certifi = None
try:
import zstandard
except ImportError:
zstandard = None
try:
import mutagen