Replies: 1 comment 8 replies
-
agree the content type should convey its responding with multipart contents! In fact meros will not process the response as multipart if the server didn't send it ~> https://github.com/maraisr/meros/blob/e63608b1926e7f8c7ab217b72bd9b425b274c305/src/browser.ts#L97 but vaguely remember there being chatter about the So 💯 about response types, but 👀 about accept header — imo. Think of it like, the user decides if it wants to defer, not the server. So if you defer, by virtue you accept as well. my 2c |
Beta Was this translation helpful? Give feedback.
-
I think this WG is mostly for the underlying spec changes, not the HTTP transport, so rather than have discussion about this here, I'm just calling out an issue on the
graphql-over-http
repository. I've recently added a comment to this old issue with my thoughts. The tl;dr: I think clients should send a header likeaccept: multipart/mixed, application/json
and servers should not sendmultipart/mixed
responses to clients that don't ask for it, and that they should send errors to those clients if they use an incremental delivery directive.Issue comment: graphql/graphql-over-http#167 (comment)
Beta Was this translation helpful? Give feedback.
All reactions