aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Package.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Package.zig b/src/Package.zig
index ab4aaeb41f..db29fde77a 100644
--- a/src/Package.zig
+++ b/src/Package.zig
@@ -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.