Skip to content

ensure correct content-type is sent #76

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
Feb 23, 2015

Conversation

csantero
Copy link
Collaborator

This PR ensures that:

  • The Content-Type for responses is set to application/vnd.api+json by default.
  • 400 errors set application/vnd.api+json instead of text/html.

csantero added a commit that referenced this pull request Feb 23, 2015
ensure correct content-type is sent
@csantero csantero merged commit f6b6de0 into JSONAPIdotNET:0-4-0 Feb 23, 2015
@csantero csantero deleted the media-type branch February 23, 2015 23:11
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