Patch: Add application/wasm to conf/mime.types

Maxim Dounin mdounin at mdounin.ru
Thu Jan 9 14:20:29 UTC 2020


Hello!

On Sun, Jan 05, 2020 at 01:10:27PM +0100, Alexander A. Klimov wrote:

> Hello!
> 
> Am 18.12.19 um 16:04 schrieb Maxim Dounin:
> > Hello!
> > 
> > On Wed, Dec 18, 2019 at 08:22:00AM +0100, Alexander A. Klimov wrote:
> > 
> > 
> >> # HG changeset patch
> >> # User Alexander A. Klimov <grandmaster at al2klimov.de>
> >> # Date 1576652721 -3600
> >> #      Wed Dec 18 08:05:21 2019 +0100
> >> # Node ID 2bcc6c4df1bfd50912bcda85c22201c0f7f6a4c3
> >> # Parent  3939483cd1b56b202a99b1db344d9568b0958e67
> >> Add application/wasm to conf/mime.types
> >>
> >> diff -r 3939483cd1b5 -r 2bcc6c4df1bf conf/mime.types
> >> --- a/conf/mime.types	Thu Dec 05 19:38:06 2019 +0300
> >> +++ b/conf/mime.types	Wed Dec 18 08:05:21 2019 +0100
> >> @@ -51,6 +51,7 @@
> >>       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;
> > 
> > This was already discussed more than once.  Please see the
> > following ticket for some details:
> > 
> > https://trac.nginx.org/nginx/ticket/1606
> > 
> > In particular, I would prefer to wait at least till there is an
> > official registration of the type.
> > 
> 
> Is [1] (see below) official enough?
> It links to [2] which links to [3] which says:
> 
>  > If the Response (...) does not match the `application/wasm` MIME 
> type, the returned promise will be rejected (...).

Official registrations are tracked by IANA, the ticket in question 
(comment #1) links to the appropriate page:

https://www.iana.org/assignments/media-types

As of now, there is no official registration, only provisional 
one.

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx-devel mailing list