From: Stefan Eissing Date: Thu, 26 May 2022 08:43:13 +0000 (+0000) Subject: Merge of PR 318: X-Git-Tag: 2.5.0-alpha2-ci-test-only~328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4230a5e7d27ddddad44172657356f2c5f762331;p=thirdparty%2Fapache%2Fhttpd.git Merge of PR 318: *) core: the conf/mime.types has been updated in conformance with RFC 9239: - .js moved from 'application/javascript' to 'text/javascript' - .mjs was added as 'text/javascript' [Mathias Bynens <@mathiasbynens> via PR 318] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901273 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/changes-entries/mime_update.txt b/changes-entries/mime_update.txt new file mode 100644 index 00000000000..b6862124439 --- /dev/null +++ b/changes-entries/mime_update.txt @@ -0,0 +1,4 @@ + *) core: the conf/mime.types has been updated in conformance with RFC 9239: + - .js moved from 'application/javascript' to 'text/javascript' + - .mjs was added as 'text/javascript' + [Mathias Bynens <@mathiasbynens> via PR 318] \ No newline at end of file diff --git a/docs/conf/mime.types b/docs/conf/mime.types index 82efdfdda5f..870176f77de 100644 --- a/docs/conf/mime.types +++ b/docs/conf/mime.types @@ -142,7 +142,7 @@ application/ipfix ipfix application/java-archive jar application/java-serialized-object ser application/java-vm class -application/javascript js +# application/javascript # application/jose # application/jose+json # application/jrd+json @@ -1686,7 +1686,7 @@ text/csv csv # text/fwdred # text/grammar-ref-list text/html html htm -# text/javascript +text/javascript js mjs # text/jcr-cnd # text/markdown # text/mizar