Merge pull request #971 from metamx/fixBackCompat

Add deprecated smile media type for backwards compatability during upgrades
This commit is contained in:
Fangjin Yang 2014-12-15 19:01:01 -07:00
commit 1089072a73
1 changed files with 1 additions and 1 deletions

View File

@ -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,