From a41f179cc029b1cfb6723ede71a317b652a54f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Tue, 18 Nov 2014 11:07:15 -0800 Subject: [PATCH] fix output content-type --- server/src/main/java/io/druid/server/QueryResource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/io/druid/server/QueryResource.java b/server/src/main/java/io/druid/server/QueryResource.java index be09886f4a9..9a6eca65ef2 100644 --- a/server/src/main/java/io/druid/server/QueryResource.java +++ b/server/src/main/java/io/druid/server/QueryResource.java @@ -209,8 +209,8 @@ public class QueryResource outputStream.close(); } }, - isSmile ? APPLICATION_JSON : APPLICATION_SMILE - ) + isSmile ? APPLICATION_SMILE : APPLICATION_JSON + ) .header("X-Druid-Query-Id", queryId) .header("X-Druid-Response-Context", jsonMapper.writeValueAsString(responseContext)) .build();