mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-10-22 17:25:42 +00:00
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:
parent
4c55846eea
commit
df4a89df10
@ -431,6 +431,7 @@ my $file_extension_info = {
|
|||||||
tgz => { ct => 'application/x-compressed-tar', nocomp => 1 },
|
tgz => { ct => 'application/x-compressed-tar', nocomp => 1 },
|
||||||
wasm => { ct => 'application/wasm' },
|
wasm => { ct => 'application/wasm' },
|
||||||
mo => { ct => 'application/x-gettext-translation' },
|
mo => { ct => 'application/x-gettext-translation' },
|
||||||
|
gz => { ct => 'application/gzip', nocomp => 1 },
|
||||||
};
|
};
|
||||||
|
|
||||||
sub send_file_start {
|
sub send_file_start {
|
||||||
|
Loading…
Reference in New Issue
Block a user