1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-12-22 08:48:54 +00:00

Set Eps mime type

This commit is contained in:
Jesse Tan 2017-06-28 12:59:09 +02:00
parent 7f6a69ccbd
commit 77244844e4

View File

@ -61,6 +61,7 @@ class DiagramResponse {
Map<FileFormat, String> map = new HashMap<FileFormat, String>();
map.put(FileFormat.PNG, "image/png");
map.put(FileFormat.SVG, "image/svg+xml");
map.put(FileFormat.EPS, "application/postscript");
map.put(FileFormat.UTXT, "text/plain;charset=UTF-8");
CONTENT_TYPE = Collections.unmodifiableMap(map);
}