Set ContentType to application/json

This commit is contained in:
Tom Morris 2016-04-26 19:51:54 -04:00
parent 5d45566455
commit 6df822e5a6

View File

@ -53,6 +53,7 @@ public class GetImportingConfigurationCommand extends Command {
throws ServletException, IOException {
Writer w = response.getWriter();
response.setContentType("application/json");
JSONWriter writer = new JSONWriter(w);
try {
writer.object();