HttpHeaders header = new HttpHeaders();header.add("Content-Disposition", "attachment; filename=\"" + encodedFileName + ".pdf\"");header.add("Content-Type", "application/pdf");... 생략 return ResponseEntity.ok() .headers(header) .contentLength(bytes.length) .contentType(MediaType.APPLICATION_PDF) //새탭열기 .body(resource); 이렇게 설정했는데도,..