【7.2.3】增加图片文件的渲染头

pull/30/head
fengshuonan 2022-06-25 11:45:57 +08:00
parent ca0a8663c0
commit 3c6ed94d05
1 changed files with 10 additions and 0 deletions

View File

@ -95,4 +95,14 @@ public class ResponseRenderUtil {
response.setContentType("application/octet-stream; charset=utf-8");
}
/**
*
*
* @author fengshuonan
* @date 2021/7/1 15:01
*/
public static void setRenderImageHeader(HttpServletResponse response) {
response.setContentType("image/png");
}
}