Registry / networking / rack-accept

rack-accept

JSON →
library0.4.5rbrubygemsunverified

Provides HTTP Accept, Accept-Charset, Accept-Encoding, and Accept-Language parsing for Ruby/Rack applications.

gem install rack-accept
INSTALL
IMPORT
SIG · RACK-ACCEPT
R
rack-accept
networkingrubyv0.4.5
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::Accept
require 'rack/accept'

Parse an HTTP Accept header to get media types.

require 'rack/accept' media_types = Rack::Accept::MediaType.new('text/html,application/xhtml+xml')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

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