package-manager: add application/x-tar-gz mime type

Closes #21314

This allows the package manger to download tar.gz bitbucket urls.
This commit is contained in:
Travis Staloch 2024-09-05 15:24:38 -07:00 committed by Andrew Kelley
parent 3543f28320
commit 204107c499

View File

@ -1067,7 +1067,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"))
ascii.eqlIgnoreCase(mime_type, "application/tar+gzip") or
ascii.eqlIgnoreCase(mime_type, "application/x-tar-gz"))
{
break :ft .@"tar.gz";
}