mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
add application/tar+gzip unblocking sr.ht packages
This commit is contained in:
parent
018b743c7a
commit
4697b30ba0
1 changed files with 2 additions and 1 deletions
|
|
@ -493,7 +493,8 @@ fn fetchAndUnpack(
|
|||
return report.fail(dep.url_tok, "missing Content-Type for '{s}'", .{uri.path});
|
||||
|
||||
if (ascii.eqlIgnoreCase(content_type, "application/gzip") or
|
||||
ascii.eqlIgnoreCase(content_type, "application/x-gzip"))
|
||||
ascii.eqlIgnoreCase(content_type, "application/x-gzip") or
|
||||
ascii.eqlIgnoreCase(content_type, "application/tar+gzip"))
|
||||
{
|
||||
// I observed the gzip stream to read 1 byte at a time, so I am using a
|
||||
// buffered reader on the front of it.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue