all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pmg-devel@lists.proxmox.com, yew-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH http-server 1/1] api server: add 'wasm' as valid extension
Date: Thu, 10 Jul 2025 12:28:11 +0200	[thread overview]
Message-ID: <20250710102812.2480856-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20250710102812.2480856-1-d.csapak@proxmox.com>

otherwise the server won't serve wasm files to the client.

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 8f2c3ff..b00e074 100644
--- a/src/PVE/APIServer/AnyEvent.pm
+++ b/src/PVE/APIServer/AnyEvent.pm
@@ -431,6 +431,7 @@ my $file_extension_info = {
     mp3 => { ct => 'audio/mpeg', nocomp => 1 },
     oga => { ct => 'audio/ogg', nocomp => 1 },
     tgz => { ct => 'application/x-compressed-tar', nocomp => 1 },
+    wasm => { ct => 'application/wasm' },
 };
 
 sub send_file_start {
-- 
2.39.5



_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel


WARNING: multiple messages have this Message-ID
From: Dominik Csapak <d.csapak@proxmox.com>
To: pmg-devel@lists.proxmox.com, yew-devel@lists.proxmox.com
Subject: [yew-devel] [PATCH http-server 1/1] api server: add 'wasm' as valid extension
Date: Thu, 10 Jul 2025 12:28:11 +0200	[thread overview]
Message-ID: <20250710102812.2480856-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20250710102812.2480856-1-d.csapak@proxmox.com>

otherwise the server won't serve wasm files to the client.

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 8f2c3ff..b00e074 100644
--- a/src/PVE/APIServer/AnyEvent.pm
+++ b/src/PVE/APIServer/AnyEvent.pm
@@ -431,6 +431,7 @@ my $file_extension_info = {
     mp3 => { ct => 'audio/mpeg', nocomp => 1 },
     oga => { ct => 'audio/ogg', nocomp => 1 },
     tgz => { ct => 'application/x-compressed-tar', nocomp => 1 },
+    wasm => { ct => 'application/wasm' },
 };
 
 sub send_file_start {
-- 
2.39.5



_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel


  reply	other threads:[~2025-07-10 10:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-10 10:28 [pmg-devel] [PATCH http-server/yew-widget-toolkit 0/2] prepare change to mobile quarantine ui Dominik Csapak
2025-07-10 10:28 ` [yew-devel] " Dominik Csapak
2025-07-10 10:28 ` Dominik Csapak [this message]
2025-07-10 10:28   ` [yew-devel] [PATCH http-server 1/1] api server: add 'wasm' as valid extension Dominik Csapak
2025-07-14 12:00   ` Shannon Sterz
2025-07-14 12:05     ` Dominik Csapak
2025-07-15  9:26       ` Thomas Lamprecht
2025-07-15 10:57         ` Dominik Csapak
2025-07-15 19:17           ` Thomas Lamprecht
2025-07-15 19:29   ` [pve-devel] applied: " Thomas Lamprecht via pve-devel
2025-07-15 19:29   ` [pmg-devel] " Thomas Lamprecht
2025-07-15 19:29     ` [yew-devel] applied: " Thomas Lamprecht
2025-07-10 10:28 ` [pmg-devel] [PATCH yew-widget-toolkit 1/1] touch: material app: add option for the theme dir prefix Dominik Csapak
2025-07-10 10:28   ` [yew-devel] " Dominik Csapak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250710102812.2480856-2-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    --cc=yew-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal