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