Skip to content

Commit 3a1c6d7

Browse files
committed
additional mimetype to file extension mappings
1 parent 5380359 commit 3a1c6d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/webservice/jaxrs/BinaryServiceJaxrs.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,10 @@ private String toFileName(Binary binary)
347347
case "application/gzip" -> ".gz";
348348
case "application/json" -> ".json";
349349
case "application/pdf" -> ".pdf";
350+
case "application/pem-certificate-chain" -> ".pem";
350351
case "application/x-ndjson" -> ".ndjson";
351352
case "application/xml" -> ".xml";
353+
case "application/zip" -> ".zip";
352354
default -> ".bin";
353355
};
354356
}

0 commit comments

Comments
 (0)