This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new a2e5411352 Align file extension to media type mapping with httpd
a2e5411352 is described below
commit a2e541135205c0cb05320032b8ce514c5b5eed40
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Nov 21 17:49:35 2025 +0000
Align file extension to media type mapping with httpd
---
conf/web.xml | 8 ++++++++
webapps/docs/changelog.xml | 4 ++++
2 files changed, 12 insertions(+)
diff --git a/conf/web.xml b/conf/web.xml
index 0914408aa1..9a7fce1f71 100644
--- a/conf/web.xml
+++ b/conf/web.xml
@@ -3716,6 +3716,14 @@
<extension>sql</extension>
<mime-type>application/x-sql</mime-type>
</mime-mapping>
+ <mime-mapping>
+ <extension>sqlite</extension>
+ <mime-type>application/vnd.sqlite3</mime-type>
+ </mime-mapping>
+ <mime-mapping>
+ <extension>sqlite3</extension>
+ <mime-type>application/vnd.sqlite3</mime-type>
+ </mime-mapping>
<mime-mapping>
<extension>src</extension>
<mime-type>application/x-wais-source</mime-type>
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index bdae49555e..22f67cf56e 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -314,6 +314,10 @@
Update Derby to 10.17.1.0. (markt)
</update>
<!-- Entries for backport and removal before 12.0.0-M1 below this line
-->
+ <update>
+ Update file extension to media type mappings to align with the current
+ list used by the Apache Web Server (httpd). (markt)
+ </update>
</changelog>
</subsection>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]