Change MIME mapping for .js from application/javascript to text/javascript
This application/javascript MIME type is deprecated. This commit therefore changes the MIME type mapping for *.js files from application/javascript to text/javascript in order to align with industry standards. Closes gh-33197
This commit is contained in:
@@ -146,7 +146,7 @@ application/ipfix ipfix
|
||||
application/java-archive jar
|
||||
application/java-serialized-object ser
|
||||
application/java-vm class
|
||||
application/javascript js
|
||||
# application/javascript js
|
||||
# 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
|
||||
# text/jcr-cnd
|
||||
# text/markdown
|
||||
# text/mizar
|
||||
|
||||
Reference in New Issue
Block a user