mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-06 21:58:03 +08:00
增加.wgt格式的MimeType
This commit is contained in:
parent
1af96de3ae
commit
a91168951c
@ -3463,6 +3463,8 @@ public class FileUtil extends PathUtil {
|
||||
contentType = "application/x-rar-compressed";
|
||||
} else if (StrUtil.endWithIgnoreCase(filePath, ".7z")) {
|
||||
contentType = "application/x-7z-compressed";
|
||||
} else if (StrUtil.endWithIgnoreCase(filePath, ".wgt")) {
|
||||
contentType = "application/widget";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user