intridea/grape — Issue #74: Steal Sinatra's Accept header accessors for header versioning
Author: jch
Created: 2011-11-20 03:13:17+00:00
State: open

The [Sinatra request object](http://www.sinatrarb.com/intro.html#Accessing%20the%20Request%20Object) has more robust accessors for parsing the Accept header according to [rfc2616 definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). The current implementation works fine for versioning, but at some point it might be worthwhile to complete a more full implementation according to the RFC.