Skip to content

Expand valid JSON content types - #16

Open
cibernox wants to merge 1 commit into
Raynos:masterfrom
cibernox:expand-valid-json-content-headers
Open

Expand valid JSON content types#16
cibernox wants to merge 1 commit into
Raynos:masterfrom
cibernox:expand-valid-json-content-headers

Conversation

@cibernox

Copy link
Copy Markdown

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