When requesting a directory with an index file, first a redirection is done if the path did not end in a / (to make sure that resources referenced by the index file are correctly loaded if referenced with relative paths)