mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-12-31 11:51:48 +00:00
Set Eps mime type
This commit is contained in:
parent
7f6a69ccbd
commit
77244844e4
@ -61,6 +61,7 @@ class DiagramResponse {
|
|||||||
Map<FileFormat, String> map = new HashMap<FileFormat, String>();
|
Map<FileFormat, String> map = new HashMap<FileFormat, String>();
|
||||||
map.put(FileFormat.PNG, "image/png");
|
map.put(FileFormat.PNG, "image/png");
|
||||||
map.put(FileFormat.SVG, "image/svg+xml");
|
map.put(FileFormat.SVG, "image/svg+xml");
|
||||||
|
map.put(FileFormat.EPS, "application/postscript");
|
||||||
map.put(FileFormat.UTXT, "text/plain;charset=UTF-8");
|
map.put(FileFormat.UTXT, "text/plain;charset=UTF-8");
|
||||||
CONTENT_TYPE = Collections.unmodifiableMap(map);
|
CONTENT_TYPE = Collections.unmodifiableMap(map);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user