Sha256: f79889bc74f569c3898967d310095b6d217f9e93f44e45648e09a58296418afb
Contents?: true
Size: 1.32 KB
Versions: 2
Compression:
Stored size: 1.32 KB
Contents
__Rack::Accept__ is a suite of tools for Ruby/Rack applications that eases the complexity of building and interpreting the Accept* family of [HTTP request headers][rfc]. Some features of the library are: * Strict adherence to [RFC 2616][rfc], specifically [section 14][sec14] * Full support for the [Accept][sec14-1], [Accept-Charset][sec14-2], [Accept-Encoding][sec14-3], and [Accept-Language][sec14-4] HTTP request headers * May be used as [Rack][rack] middleware or standalone * A comprehensive [test suite][test] that covers many edge cases Installation ------------ Using [RubyGems][rubygems]: $ sudo gem install rack-accept From a local copy: $ git clone git://github.com/mjijackson/rack-accept.git $ cd rack-accept $ rake package && sudo rake install [rfc]: http://www.w3.org/Protocols/rfc2616/rfc2616.html [sec14]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html [sec14-1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1 [sec14-2]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.2 [sec14-3]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3 [sec14-4]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4 [rack]: http://rack.rubyforge.org/ [test]: http://github.com/mjijackson/rack-accept/tree/master/test/ [rubygems]: http://rubygems.org/
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rack-accept-0.4.4 | doc/index.markdown |
rack-accept-0.4.3 | doc/index.markdown |