hack2-contrib-2014.4.14: Hack2 contrib

Safe HaskellNone

Hack2.Contrib.Middleware.Static

Description

Stolen from rack: The Rack::Static middleware intercepts requests for static files (javascript files, images, stylesheets, etc) based on the url prefixes passed in the options, and serves them using a Rack::File object. This allows a Rack stack to serve both static and dynamic content.

Documentation