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

Removed error_format, will match the request content-type matched format. #285

Merged
merged 1 commit into from
Dec 3, 2012

Conversation

dblock
Copy link
Member

@dblock dblock commented Dec 2, 2012

See the discussion in #282.

This removes error_format. It's confusing to expect JSON as a response, but get an error in txt format. With this change that is no longer possible, and the error format is matched the same way as the response format.

dblock added a commit that referenced this pull request Dec 3, 2012
Removed error_format, will match the request content-type matched format.
@dblock dblock merged commit f2f7ab0 into ruby-grape:master Dec 3, 2012
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.

None yet

1 participant