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)) { |
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?
graphql-java-spring/graphql-java-spring-webflux/src/main/java/graphql/spring/web/reactive/components/GraphQLController.java
Line 65 in 612d644