At a glance
- Project
- GraphQL over HTTP
- Identifier
- http-215
- Stage
- RFC 3 / Accepted
- Champion
- @benjie
- Updated
- 2026-09-28
- Latest activity
- Pull request merged on
- Source
- Pull request
Pull request description
@IvanGoncharov pointed out that application/graphql (or really text/graphql) would make sense to use as the media type for GraphQL documents when stored in files (typically .graphql files). To avoid confusion, we should change the media type this spec recommends. Looking at https://www.iana.org/assignments/media-types/media-types.xhtml it seems that adding -response and -request are common patterns, so I propose that we change the media type to 'application/graphql-response+json'
CC @enisdenjo as this may impact graphql-http
Timeline
August 2022
- Pull request merged on by benjie
- Pull request created on by benjie
- @benjie committed "Change media type to 'application/graphql-response+json'" on