mirror of https://github.com/apache/druid.git
fix output content-type
This commit is contained in:
parent
8819a1b9d5
commit
a41f179cc0
|
@ -209,8 +209,8 @@ public class QueryResource
|
||||||
outputStream.close();
|
outputStream.close();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
isSmile ? APPLICATION_JSON : APPLICATION_SMILE
|
isSmile ? APPLICATION_SMILE : APPLICATION_JSON
|
||||||
)
|
)
|
||||||
.header("X-Druid-Query-Id", queryId)
|
.header("X-Druid-Query-Id", queryId)
|
||||||
.header("X-Druid-Response-Context", jsonMapper.writeValueAsString(responseContext))
|
.header("X-Druid-Response-Context", jsonMapper.writeValueAsString(responseContext))
|
||||||
.build();
|
.build();
|
||||||
|
|
Loading…
Reference in New Issue