Query:
query {
nonExistentQuery
}
Response:
// Content-Type: text/plain;charset=UTF-8
{
"errors": [
{
"message": "Property nonExistentQuery on Query does not exist",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": []
}
]
}
The expected behaviour is to have content-type of application/json on errors, which it already does on successes.