);             } catch (IllegalArgumentException e) {                 log.info("Bad Request: {}",e);                 throw new WebApplicationException(                     Response.status(Status.BAD_REQUEST).entity(e.toString()).                     header(HttpHeaders.ACCEPT, acceptedMediaType).build());             }             if(content.getMediaType() == null){                 String message = String.format(                     "M