intridea/grape — pull request #240 by neetiraj (2012-09-06 14:51:12+00:00)
Title: accept format query parameter like rails to steer the response format

This emulates the Rails behavior of identifying the expected response format from format query parameter if available. With this resolution Grape would be able to decipher that the expected response format is json from a URL like this - http://myblog.com/updates?format=json. This is from an issue that I reported in Grape google group - https://groups.google.com/forum/?fromgroups=#!topic/ruby-grape/uUFd-OcNwDM where the solution was accepted and suggested to do git pull for the same.