Mongrel2
X-Request configuration class
# Using the config DSL: xrequest '/usr/local/lib/mongrel2/filters/watermark.so', extensions: ['*.jpg', '*.png'], src: '/usr/local/var/image/acme.png' # Which is the same as: Mongrel2::Config::XRequest.create( name: '/usr/local/lib/mongrel2/filters/sendfile.so', settings: { min_size: 1000 } # Or: server.add_xrequest( name: '/usr/local/lib/mongrel2/filters/sendfile.so', settings: { min_size: 1000 })