Closed
Description
If we release this spec in RFC format (even with "information" status) we can register application/graphql
as official mime type:
https://www.iana.org/assignments/media-types/media-types.xhtml
Combining it with +json
structural suffix we can use application/graphlq+json
as media to for GraphQL request/responses in serialized as JSON.
Prior Art:
- gRPC uses
application/grpc+json
, see https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests - SOAP uses
application/soap+xml
, see https://en.wikipedia.org/wiki/SOAP#Example_message_.28encapsulated_in_HTTP.29
I don't think it should go into 1.0
release but I think it's something we should explore for post-1.0
.