more mime types;
authorFabian Huch <huch@in.tum.de>
Wed, 05 Feb 2025 15:05:10 +0100
changeset 82106 27acc91b3fbf
parent 82105 1609068d3f5a
child 82107 6c3b7d1f2115
more mime types;
src/Pure/General/http.scala
--- a/src/Pure/General/http.scala	Wed Feb 05 14:56:39 2025 +0100
+++ b/src/Pure/General/http.scala	Wed Feb 05 15:05:10 2025 +0100
@@ -22,6 +22,8 @@
     val mime_type_bytes: String = "application/octet-stream"
     val mime_type_text: String = "text/plain; charset=utf-8"
     val mime_type_html: String = "text/html; charset=utf-8"
+    val mime_type_css: String = "text/css; charset=utf-8"
+    val mime_type_js: String = "text/javascript; charset=utf-8"
 
     val default_mime_type: String = mime_type_bytes
     val default_encoding: String = UTF8.charset.name