Prepares internal file servers for revised Rack::Cascade that looks for a magic header instead of discarding all 404 responses.
Signed-off-by: Ryan Tomayko <email@example.com>
* Handles symlinks * Less disk access * Uses UTF8 * Human-readable filesize from Bytes to Terabytes * Uses Rack::File as app by default * Does a File.expand_path on the * +root+ argument * Splits up the _call * method for easier * subclassing * Use new Rack::Mime Based on a patch by Michael Fellinger.
Rack::File similar processing of paths. On directory lookups it will serve a html index of it's contents. Entries begining with '.' are not presented. On lookups that result in a file, it will pass an unmodified env to the provided app. If an app is not provided, a Rack::File with the same root is used. darcs-hash:20080425235542-f4dbf-5774ea78c5f18e0f743cced5baaae1b04c3d37ae.gz