XSLT is a well-established XML-based language for stylesheets. It has been 
around since the late 90s; the most recent version was finalized in 2017 (see  
https://www.w3.org/TR/xslt-30/). The mime.types file bundled with OpenBSD 7.0 
-- typically used with httpd -- doesn't include this common MIME type. May we 
add it? Conventionally, XSLT files use the .xsl file extension and the standard 
MIME type is "application/xslt+xml" (see 
https://datatracker.ietf.org/doc/html/rfc3023#section-8.17). A diff looks like 
this:

diff -Naur /usr/share/misc/mime.types /usr/src/share/misc/mime.types
--- /usr/share/misc/mime.types  Thu Sep 30 20:01:17 2021
+++ /usr/src/share/misc/mime.types      Fri Feb 11 07:36:11 2022
@@ -56,6 +56,7 @@
 application/x-tcl                                      tcl tk
 application/x-x509-ca-cert                             der pem crt
 application/x-xpinstall                                        xpi
+application/xslt+xml                                    xsl
 application/xhtml+xml                                  xhtml
 application/zip                                                zip

Jesse

Reply via email to