mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00: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
@ -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…
x
Reference in New Issue
Block a user