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

Steal Sinatra's Accept header accessors for header versioning #74

Closed
jch opened this issue Nov 20, 2011 · 2 comments
Closed

Steal Sinatra's Accept header accessors for header versioning #74

jch opened this issue Nov 20, 2011 · 2 comments

Comments

@jch
Copy link
Contributor

jch commented Nov 20, 2011

The Sinatra request object has more robust accessors for parsing the Accept header according to rfc2616 definitions. 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.

@jch
Copy link
Contributor Author

jch commented Nov 21, 2011

Add https://github.com/mjijackson/rack-accept to middleware when building endpoint

@dblock
Copy link
Member

dblock commented Feb 10, 2013

Grape has been using Rack::Accept for a while now. Closing.

@dblock dblock closed this as completed Feb 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants