Commit 4b455623 authored by David Winslow's avatar David Winslow
Browse files

Use the MIME subtype rather than general type

parent 742fd2a0
......@@ -210,7 +210,7 @@ public abstract class Response {
name = name + "-" + opName;
}
String[] typeParts = mimeType.split(";");
String extension = typeParts[0].split("/")[0];
String extension = typeParts[0].split("/")[1];
name = name + "." + extension;
}
return name;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment