mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00: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
@ -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…
Reference in New Issue
Block a user