You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Header field names and MIME type detection should not be case sensitive.
The getResultfunction checks for the existence of the Content-Type response header. This check should be able to accept a case-insensitive header field name and value (for e.g. content-type: application/json)
The primary use case for this would be when the default fetch config in the GraphQLClient instance is overridden with say, an Axios wrapper, where the Response Header object does not implement a case-insensitive get method by default.
Header field names and MIME type detection should not be case sensitive.
The
getResult
function checks for the existence of theContent-Type
response header. This check should be able to accept a case-insensitive header field name and value (for e.g.content-type: application/json
)The primary use case for this would be when the default
fetch
config in theGraphQLClient
instance is overridden with say, an Axios wrapper, where the Response Header object does not implement a case-insensitiveget
method by default.References:
https://www.rfc-editor.org/rfc/rfc7540#section-8.1.2
https://www.rfc-editor.org/rfc/rfc6838.html#section-4.2
The text was updated successfully, but these errors were encountered: