From df4a89df1027daeb19f098068c79ab880281b2f0 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 6 Aug 2025 10:21:49 +0200 Subject: [PATCH] add gzip's gz as supported file extensions useful when we want to deliver pre-compressed files e.g. for wasm Signed-off-by: Dominik Csapak Link: https://lore.proxmox.com/20250806082149.775141-1-d.csapak@proxmox.com --- src/PVE/APIServer/AnyEvent.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/APIServer/AnyEvent.pm b/src/PVE/APIServer/AnyEvent.pm index a5f6681..59bc184 100644 --- a/src/PVE/APIServer/AnyEvent.pm +++ b/src/PVE/APIServer/AnyEvent.pm @@ -431,6 +431,7 @@ my $file_extension_info = { tgz => { ct => 'application/x-compressed-tar', nocomp => 1 }, wasm => { ct => 'application/wasm' }, mo => { ct => 'application/x-gettext-translation' }, + gz => { ct => 'application/gzip', nocomp => 1 }, }; sub send_file_start {