Skip to content

Allow for 'application/vnd.api+json' response. #41

New issue

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

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

MatthewKennedy
Copy link
Contributor

This PR adds the ability to accept application/vnd.api+json response content types, and changes the regular expression to look for content types beginning with application and ending in json.

This is useful for anyone who is using a JSON::API specific API.

@marcelolx marcelolx merged commit bd3aad1 into rails:main Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants