Index | Thread | Search

From:
Steffen Nurpmeso <steffen@sdaoden.eu>
Subject:
Re: add text/javascript mjs to mime.types
To:
Matthieu Herrb <matthieu@openbsd.org>
Cc:
tech@openbsd.org
Date:
Mon, 20 May 2024 22:51:07 +0200

Download raw body.

Thread
Florian Obser wrote in
 <m1cypgojfn.fsf@openbsd.org>:
 |sure, OK florian

Why is it .mjs?  I have text/javascript as js alone.

 |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_ty\
 |> pes/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.
 |
 --End of <m1cypgojfn.fsf@openbsd.org>

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)