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 <d.csapak@proxmox.com>
Link: https://lore.proxmox.com/20250806082149.775141-1-d.csapak@proxmox.com
This commit is contained in:
Dominik Csapak 2025-08-06 10:21:49 +02:00 committed by Thomas Lamprecht
parent 4c55846eea
commit df4a89df10

View File

@ -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 {