Found this issue when running ecstatic in test/public.
Response is served when the middleware in autoIndex switch found 404.html while trying to serve index.html, so showDir() is never called.
Because of this issue, I cannot add test case for showDir() (so #86 was not covered in the test).