mirror of https://github.com/apache/druid.git
Merge pull request #885 from metamx/fix-content-type
fix output content-type
This commit is contained in:
commit
405d299e0a
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue