Closed pkqk closed 3 months ago
The npm module graphql-http is checking the Accept header and is looking for utf8 in the charset instead of utf-8.
graphql-http
utf8
utf-8
https://github.com/graphql/graphql-http/blob/v1.22.0/src/handler.ts#L593
JSON is almost always encoded in UTF-8 so we should be ok not specifying that.
I've raised an issue: https://github.com/graphql/graphql-http/issues/120
The npm module
graphql-http
is checking the Accept header and is looking forutf8
in the charset instead ofutf-8
.https://github.com/graphql/graphql-http/blob/v1.22.0/src/handler.ts#L593
JSON is almost always encoded in UTF-8 so we should be ok not specifying that.
I've raised an issue: https://github.com/graphql/graphql-http/issues/120