Registry / web-framework / rack-conneg

rack-conneg

JSON →
library0.1.6rbrubygemsunverified

Middleware that provides both file extension and HTTP_ACCEPT-type content negotiation for Rack applications.

gem install rack-conneg
INSTALL
IMPORT
SIG · RACK-CONNEG
R
rack-conneg
web-frameworkrubyv0.1.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rack::Conneg
✓ require 'rack/conneg'

Add content negotiation to a Rack app

require 'rack/conneg' use Rack::Conneg do |c| c.set_accept_header :json, :xml end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.6latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
rack-conneg — gem install rack-conneg · libregistry