Welcome! Log In Create A New Profile

Advanced

[PATCH] MIME: Add application/wasm type

deso
December 26, 2020 09:58PM
From 6a3bd185b20d60c6f145847b2dc162b09de6eab6 Mon Sep 17 00:00:00 2001
From: Daniel Mueller <deso@posteo.net>
Date: Sat, 26 Dec 2020 18:47:06 -0800
Subject: [PATCH] MIME: Add application/wasm type

.wasm files should be served with the application/wasm MIME type or some
features such as streamed loading and compilation may not be used by
browsers.
This change adjusts the MIME type configuration to include such a
setting.
---
conf/mime.types | 1 +
1 file changed, 1 insertion(+)

diff --git a/conf/mime.types b/conf/mime.types
index 296125..b53f7f 100644
--- a/conf/mime.types
+++ b/conf/mime.types
@@ -51,6 +51,7 @@ types {

application/vnd.openxmlformats-officedocument.wordprocessingml.document
docx;
application/vnd.wap.wmlc wmlc;
+ application/wasm wasm;
application/x-7z-compressed 7z;
application/x-cocoa cco;
application/x-java-archive-diff jardiff;
--
2.26.2
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] MIME: Add application/wasm type

deso 100 December 26, 2020 09:58PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 51
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready