Mailing List Archive

[Bug 61383] *.mjs files should be part of mime application/javascript
https://bz.apache.org/bugzilla/show_bug.cgi?id=61383

--- Comment #9 from Mathias Bynens <mths@google.com> ---
(In reply to Eric Covener from comment #4)
> IIUC the bar for httpd to list a type is registration in IANA, but the bar
> for adding an extension to an existing type is to show it in common use
> (assuming it's not already in use elsewhere) or present in some standard.
>
> https://www.iana.org/assignments/media-types/media-types.xml
>
> Where we'd normally look to confirm an extension:
> https://www.iana.org/assignments/media-types/application/javascript
>
> I didn't find the specific references here too compelling but someone else
> might be more familiar/comfortable with it.

The media type registry at
https://www.iana.org/assignments/media-types/media-types.xhtml has been updated
and now explicitly includes the .mjs extension for the text/javascript media
type.

The link you referenced,
https://www.iana.org/assignments/media-types/application/javascript, now shows
that application/javascript is OBSOLETE (in favor of text/javascript).

The relevant entry to look at is
https://www.iana.org/assignments/media-types/text/javascript, which now
explicitly lists both the .js and .mjs extensions.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org