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

Alexander A. Klimov grandmaster at al2klimov.de
Sun Jan 5 12:10:27 UTC 2020


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 (...).

Best,
AK

[1]: https://www.w3.org/2019/12/pressrelease-wasm-rec.html.en
[2]: https://www.w3.org/TR/wasm-core-1/
[3]: https://www.w3.org/TR/wasm-web-api/


More information about the nginx-devel mailing list