fix output content-type

This commit is contained in:
Xavier Léauté 2014-11-18 11:07:15 -08:00
parent 8819a1b9d5
commit a41f179cc0
1 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ 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))