* [pve-devel] [PATCH http-server] add gz to supported file extensions
@ 2025-08-06 8:21 Dominik Csapak
2025-08-06 10:02 ` [pve-devel] apllied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2025-08-06 8:21 UTC (permalink / raw)
To: pve-devel
useful when we want to deliver pre-compressed files e.g. for wasm
Signed-off-by: Dominik Csapak <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 {
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-06 10:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-06 8:21 [pve-devel] [PATCH http-server] add gz to supported file extensions Dominik Csapak
2025-08-06 10:02 ` [pve-devel] apllied: " Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.