qin 1 jaar geleden
bovenliggende
commit
8d0242c88e
1 gewijzigde bestanden met toevoegingen van 0 en 1 verwijderingen
  1. 0 1
      src/main/java/com/poteviohealth/cgp/statistics/utils/ExcelUtils2.java

+ 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);
         }