Rack 1.4.0 new index option of Static middleware

Hi there,

Am I missing something or does the new :index option of the Rack::Static
middleware from 1.4.0 now make it completely impossible to handle the
“/” path in another middleware lower in the stack?

use Rack::Static, :urls => ["/css", “/js”, “/images”], :root => “public”
use MyRackMiddlewareWhichWantsToHandleTheRootURL

In this configuration, “/” is always intercepted by Rack::Static
because the :index option defaults to “index.html” and doesn’t seem to
allow to ignore it and pass it down to the lower middleware.