qin 1 rok pred
rodič
commit
8d0242c88e

+ 0 - 1
src/main/java/com/poteviohealth/cgp/statistics/utils/ExcelUtils2.java

@@ -46,7 +46,6 @@ public class ExcelUtils2 implements ResourceLoaderAware {
         resp.setHeader("Content-Type", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=utf-8");
         try {
             resp.setHeader("Content-Disposition", "attachment; filename=" + URLEncoder.encode(filename, "UTF-8"));
-            resp.setHeader("Content-Length", String.valueOf(template.contentLength()));
         } catch (Exception e) {
             throw new RuntimeException(e);
         }