We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content-Type
The parseBody function is only using startsWith and endsWith to figure the content type.
parseBody
startsWith
endsWith
datasource-rest/src/RESTDataSource.ts
Lines 288 to 289 in 5ac9b52
In most cases (application/json) this is fine. But for users depending on the +json condition, this breaks for cases like this one:
application/json
+json
application/ld+json; charset=utf-8
Ref: #228 (reply in thread)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
parseBody
function is only usingstartsWith
andendsWith
to figure the content type.datasource-rest/src/RESTDataSource.ts
Lines 288 to 289 in 5ac9b52
In most cases (
application/json
) this is fine. But for users depending on the+json
condition, this breaks for cases like this one:Ref: #228 (reply in thread)
The text was updated successfully, but these errors were encountered: