From 6df822e5a62c69b2ec6ab0044452aba54fffb37f Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Tue, 26 Apr 2016 19:51:54 -0400 Subject: [PATCH] Set ContentType to application/json --- .../commands/importing/GetImportingConfigurationCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/main/src/com/google/refine/commands/importing/GetImportingConfigurationCommand.java b/main/src/com/google/refine/commands/importing/GetImportingConfigurationCommand.java index 19a7b40ec..e07e5a774 100644 --- a/main/src/com/google/refine/commands/importing/GetImportingConfigurationCommand.java +++ b/main/src/com/google/refine/commands/importing/GetImportingConfigurationCommand.java @@ -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();