fixed incorrect mime type lookup if trailing slash converted to index.html