mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
@@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user