Add application/x-tar+xz as a known content type
This commit is contained in:
parent
e92283b4e9
commit
e6a269af3d
@ -280,6 +280,7 @@ class PackageAdapter:
|
||||
elif content_type in (
|
||||
"application/gzip",
|
||||
"application/x-tar+gzip",
|
||||
"application/x-tar+xz",
|
||||
"application/x-compressed-tar",
|
||||
):
|
||||
self._package = TarFile.open(fileobj=BytesIO(response.content), mode="r:*")
|
||||
|
Loading…
Reference in New Issue
Block a user