We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
content-type
Copied from #2395 (comment).
Based on the defer spec here, an example response body could look like the following: /~https://github.com/graphql/graphql-over-http/blob/main/rfcs/IncrementalDelivery.md#content-type-multipartmixed --- Content-Type: application/json; charset=utf-8 {"data":{"hello":"Hello Rob"},"hasNext":true} --- Content-Type: application/json; charset=utf-8 {"data":{"test":"Hello World"},"path":[],"hasNext":false} ----- As of right now, the code is only checking for Content-Type to be application/json. This seems to cause problems and throws an unsupportedType error.
Based on the defer spec here, an example response body could look like the following:
/~https://github.com/graphql/graphql-over-http/blob/main/rfcs/IncrementalDelivery.md#content-type-multipartmixed
--- Content-Type: application/json; charset=utf-8 {"data":{"hello":"Hello Rob"},"hasNext":true} --- Content-Type: application/json; charset=utf-8 {"data":{"test":"Hello World"},"path":[],"hasNext":false} -----
As of right now, the code is only checking for Content-Type to be application/json. This seems to cause problems and throws an unsupportedType error.
Content-Type
application/json
1.15.3
Receive a multipart chunk with a content type of Content-Type: application/json; charset=utf-8.
Content-Type: application/json; charset=utf-8
No response
The text was updated successfully, but these errors were encountered:
@defer
@brettephillips - the fix for this has been merged and will go out in the next release.
Sorry, something went wrong.
calvincestari
Successfully merging a pull request may close this issue.
Summary
Copied from #2395 (comment).
Version
1.15.3
Steps to reproduce the behavior
Receive a multipart chunk with a content type of
Content-Type: application/json; charset=utf-8
.Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: