intridea/grape — pull request #141 by meh (2012-02-13 17:14:58+00:00)
Title: Return correct mime-types when passed a version header.

It wasn't working with `Accept: application/vnd.fag-1+clojure14` because it didn't weed out the vendor/version part, so it would still give back json.

I simplified a bit the regex but it should work the same as before.