mirror of https://github.com/apache/druid.git
Merge pull request #971 from metamx/fixBackCompat
Add deprecated smile media type for backwards compatability during upgrades
This commit is contained in:
commit
1089072a73
|
@ -121,7 +121,7 @@ public class QueryResource
|
|||
|
||||
@POST
|
||||
@Produces({MediaType.APPLICATION_JSON, SmileMediaTypes.APPLICATION_JACKSON_SMILE})
|
||||
@Consumes({MediaType.APPLICATION_JSON, SmileMediaTypes.APPLICATION_JACKSON_SMILE})
|
||||
@Consumes({MediaType.APPLICATION_JSON, SmileMediaTypes.APPLICATION_JACKSON_SMILE, APPLICATION_SMILE})
|
||||
public Response doPost(
|
||||
InputStream in,
|
||||
@QueryParam("pretty") String pretty,
|
||||
|
|
Loading…
Reference in New Issue