Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
chore: fix changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l authored Dec 16, 2021
1 parent f07a403 commit f1d3b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .changeset/khaki-hairs-protect.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Adjust the handling of the `accept` header.

- Clients accepting the `application/graphql+json` header (via the `accept` header) will receive responses that use `Content-Type: application/graphql+json` over `application/json` ([which is only for supporting legacy clients](https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#content-types)).
Clients that do not specify any `accept` headers will still receive `Content-Type: application/graphql`. This is not considered a breaking change as clients accepting the `application/graphql+json` header should also be able to process it.
Clients that do not specify any `accept` headers will still receive `content-type: application/json`. This is not considered a breaking change as clients accepting the `application/graphql+json` header should also be able to process it.
Note: When using the `application/graphql+json` content-type header you need to configure your HTTP server/framework to parse this content-type as JSON.
- GET `text/event-stream` requests will now ALWAYS return a `PushResponse` instead of a `MultipartResponse`. Previously helix would send a `MultipartResponse` if the accept header was not a strict equal to `accept: text/event-stream`.
- POST requests that try to execute Subscription operations will now receive an error and 405 status code. This is not considered a breaking change as SSE is not doable over POST by the specification and was never officially supported.

1 comment on commit f1d3b29

@vercel
Copy link

@vercel vercel bot commented on f1d3b29 Dec 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

The most recent charge for your active payment method has failed. Please update it here: https://vercel.com/teams/graphql-helix/settings/billing.

Please sign in to comment.