Skip to content

Commit

Permalink
ISPN-9530 Fix default media type
Browse files Browse the repository at this point in the history
  • Loading branch information
wburns committed Sep 19, 2018
1 parent 22a0159 commit aecbb29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/hotrod/src/main/resources/hotrod.gr
Expand Up @@ -107,7 +107,7 @@ mediaTypeParamsNum: vInt;
mediaParamName: string;
mediaParamValue: string;
mediaTypeDescription returns MediaType switch mediaTypeDefinition
: { 0 }? { MediaType.MATCH_ALL }
: { 0 }? { MediaType.APPLICATION_UNKNOWN }
| { 1 }? mediaTypeId mediaTypeParams { MediaType.parse(MediaTypeIds.getMediaType((short) mediaTypeId)).withParameters(mediaTypeParams) }
| { 2 }? mediaTypeName mediaTypeParams { MediaType.parse(mediaTypeName).withParameters(mediaTypeParams) }
| { throw new RequestParsingException("Unknown MediaType definition: " + mediaTypeDefinition, version, messageId); }
Expand Down

0 comments on commit aecbb29

Please sign in to comment.