-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Enables parsing of application/hal+json as JSON #1853
Enables parsing of application/hal+json as JSON #1853
Conversation
@janhartmann: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/ |
Thanks, this looks good! I'm happy you also added a new test. |
I think the solution proposed in #1645 |
I agree, we also need to support different casing, e.g by lower casing. As og today, if the content type sent back is “Application/Json” it will not parse either. Might need another issue |
In #1645 I added a field jsonContentType that defaults to "application/json", but that the developer can override (a bit like the baseUrl). I think that that is a simple and flexible solution. |
This pull requests enables JSON parsing of content type
application/hal+json
.https://en.wikipedia.org/wiki/Hypertext_Application_Language
TODO: