Rack::Contrib::ContentHash

Provide a simple interface for multiple Content-* hashes.

Supported:

  • Content-MD5
  • Content-SHA1

Usage

# config.ru

use Rack::Contrib::ContentHash, md5: true, sha1: true