I post a request with header "Content-Type: application/json; charset=utf-8", and it returns 422 Http Code.
Now the controller only accept Content-Type strictly equals to "application/json" Can it support more dynamic Content-Type header?
|
if (MediaType.APPLICATION_JSON_VALUE.equals(contentType)) { |