public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [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

* [pve-devel] apllied: [PATCH http-server] add gz to supported file extensions
  2025-08-06  8:21 [pve-devel] [PATCH http-server] add gz to supported file extensions Dominik Csapak
@ 2025-08-06 10:02 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-08-06 10:02 UTC (permalink / raw)
  To: pve-devel, Dominik Csapak

On Wed, 06 Aug 2025 10:21:49 +0200, Dominik Csapak wrote:
> useful when we want to deliver pre-compressed files e.g. for wasm
> 
> 

Applied, thanks!

[1/1] add gz to supported file extensions
      commit: df4a89df1027daeb19f098068c79ab880281b2f0


_______________________________________________
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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal