fixing content-type
This commit is contained in:
parent
ff6c0a8b25
commit
12dad415c9
|
@ -25,7 +25,7 @@ public class Software {
|
|||
|
||||
private final Logger logger = LoggerFactory.getLogger(Software.class);
|
||||
|
||||
public static final String APPLICATION_JSON_CHARSET_UTF_8 = "application/json;charset=UTF-8";
|
||||
public static final String APPLICATION_JSON = "application/json";
|
||||
|
||||
@HEAD
|
||||
public Response alive() {
|
||||
|
@ -34,7 +34,7 @@ public class Software {
|
|||
|
||||
|
||||
@POST
|
||||
@Consumes(APPLICATION_JSON_CHARSET_UTF_8)
|
||||
@Consumes(APPLICATION_JSON)
|
||||
@StatusCodes ({
|
||||
@ResponseCode ( code = 202, condition = "The provided json is formally correct.")
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue