utils: Add application/sql as text

This commit is contained in:
lorenz.stechauner committed 2024-01-05 18:24:04 +01:00
1 parent 5d6bd07cfd
commit 34b860073c
1 file changed
+1
+1
View File
@@ -150,6 +150,7 @@ int mime_is_text(const char *restrict type) {
streq(type_parsed, "application/javascript") || streq(type_parsed, "application/javascript") ||
streq(type_parsed, "application/json") || streq(type_parsed, "application/json") ||
streq(type_parsed, "application/xml") || streq(type_parsed, "application/xml") ||
streq(type_parsed, "application/sql") ||
streq(type_parsed, "application/x-www-form-urlencoded") || streq(type_parsed, "application/x-www-form-urlencoded") ||
streq(type_parsed, "application/x-tex") || streq(type_parsed, "application/x-tex") ||
streq(type_parsed, "application/x-httpd-php") || streq(type_parsed, "application/x-httpd-php") ||