Check if index.html exists before listing a directory content, and eventually send it to the browser
Using HttpStatus instead of hardcoded 404