Package.Fetch: add another non-standard Content-Type

For instance, the official download site for libvterm uses this MIME
type for tar.gz tarballs.
This commit is contained in:
mlugg 2024-09-12 22:32:13 +01:00 committed by Andrew Kelley
parent 55250a9370
commit 54611e32d7

View File

@ -1068,7 +1068,8 @@ fn unpackResource(
if (ascii.eqlIgnoreCase(mime_type, "application/gzip") or
ascii.eqlIgnoreCase(mime_type, "application/x-gzip") or
ascii.eqlIgnoreCase(mime_type, "application/tar+gzip") or
ascii.eqlIgnoreCase(mime_type, "application/x-tar-gz"))
ascii.eqlIgnoreCase(mime_type, "application/x-tar-gz") or
ascii.eqlIgnoreCase(mime_type, "application/x-gtar-compressed"))
{
break :ft .@"tar.gz";
}