mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
commit
41af0e6c50
@ -3463,6 +3463,8 @@ public class FileUtil extends PathUtil {
|
|||||||
contentType = "application/x-rar-compressed";
|
contentType = "application/x-rar-compressed";
|
||||||
} else if (StrUtil.endWithIgnoreCase(filePath, ".7z")) {
|
} else if (StrUtil.endWithIgnoreCase(filePath, ".7z")) {
|
||||||
contentType = "application/x-7z-compressed";
|
contentType = "application/x-7z-compressed";
|
||||||
|
} else if (StrUtil.endWithIgnoreCase(filePath, ".wgt")) {
|
||||||
|
contentType = "application/widget";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user