Index | Thread | Search

From:
Florian Obser <florian@openbsd.org>
Subject:
Re: add text/javascript mjs to mime.types
To:
Matthieu Herrb <matthieu@openbsd.org>
Cc:
tech@openbsd.org
Date:
Mon, 20 May 2024 12:40:28 +0200

Download raw body.

Thread
sure, OK florian

On 2024-05-20 11:34 +02, Matthieu Herrb <matthieu@openbsd.org> wrote:
> Hi,
>
> I'm running nextcloud with httpd(8) on one of my servers.
> After upgrading to nextcloud 28 it complains that no MIME type is
> defined for the .mjs extension.
>
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
> includes the following. ok ?
>
> Index: mime.types
> ===================================================================
> RCS file: /local/cvs/src/share/misc/mime.types,v
> diff -u -p -u -r1.4 mime.types
> --- mime.types	6 Jan 2018 22:05:03 -0000	1.4
> +++ mime.types	20 May 2024 09:28:28 -0000
> @@ -79,6 +79,7 @@ image/x-ms-bmp						bmp
>  
>  text/css						css
>  text/html						html htm shtml
> +text/javascript						mjs
>  text/mathml						mml
>  text/plain						txt
>  text/vnd.sun.j2me.app-descriptor			jad
>
> -- 
> Matthieu Herrb
>

-- 
In my defence, I have been left unsupervised.