Skip to content

Commit

Permalink
Default response content type using GraphQL spec
Browse files Browse the repository at this point in the history
Default response content type header should conform to [GraphQL over HTTP spec](https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#serialization-format).
  • Loading branch information
ivanp authored Sep 6, 2023
1 parent 69b0e01 commit bff1fb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class SmallRyeGraphQLExecutionHandler extends SmallRyeGraphQLAbstractHand
private static final String EXTENSIONS = "extensions";
private static final String APPLICATION_GRAPHQL = "application/graphql";
private static final String OK = "OK";
private static final String DEFAULT_RESPONSE_CONTENT_TYPE = "application/graphql+json; charset="
private static final String DEFAULT_RESPONSE_CONTENT_TYPE = "application/graphql-response+json; charset="
+ StandardCharsets.UTF_8.name();
private static final String DEFAULT_REQUEST_CONTENT_TYPE = "application/json; charset="
+ StandardCharsets.UTF_8.name();
Expand Down

0 comments on commit bff1fb7

Please sign in to comment.