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();