mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
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:
parent
3543f28320
commit
204107c499
1 changed files with 2 additions and 1 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue