You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed with @andimarek and as seen in graphql/graphql-over-http#31, the "application/graphql MIME type is not yet officially registered and the spec is not ready for adoption. Most GraphQL libraries do not support this MIME type and are not considering it right now.
As a consequence, we should keep supporting it but stick to "application/json" as a default for now.
The text was updated successfully, but these errors were encountered:
rstoyanchev
changed the title
Revert "application/graphql" as default media type
Adjust support for "application/graphql" media type so it is used only if explicitly requested
May 4, 2022
bclozel
added a commit
to spring-projects/spring-boot
that referenced
this issue
May 4, 2022
As seen in spring-projects/spring-graphql#375, Spring Boot should also
use "application/json" as the default MIME type but remain compatible
with "application/graphql+json" still if clients POST content with this
type or explicitly accept it.
Closesgh-30860
As discussed with @andimarek and as seen in graphql/graphql-over-http#31, the
"application/graphql
MIME type is not yet officially registered and the spec is not ready for adoption. Most GraphQL libraries do not support this MIME type and are not considering it right now.As a consequence, we should keep supporting it but stick to
"application/json"
as a default for now.The text was updated successfully, but these errors were encountered: