Skip to content
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

Expand valid JSON content types #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cibernox
Copy link

Before the library required that the content-type of a JSON request to be
"application/json", however by the spec, mime-subtypes of application json
(Those ending in +json like application/vnd.api+json are also valid json types.

@cibernox cibernox changed the title Expand valid JSON headers Expand valid JSON content types Sep 11, 2018
Before the library required that the content-type of a JSON request to be
"application/json", however by the spec, mime-subtypes of application json
(Those ending in `+json` like `application/vnd.api+json` are also valid json types.
@cibernox cibernox force-pushed the expand-valid-json-content-headers branch from c0357a3 to 60ebc67 Compare September 11, 2018 19:53
@twokul twokul mentioned this pull request Sep 11, 2018
4 tasks
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.

1 participant