[issue32628] Add configurable DirectoryIndex to http.server

2019-05-31 Thread Erik Paulson
Erik Paulson added the comment: I think my use case was Sharepoint and static site generators - Sharepoint can serve a tree of .aspx files as raw HTML, but maddeningly not .html files. The site generator we used spit out a fairly complicated site where the internal links point

[issue32628] Add configurable DirectoryIndex to http.server

2018-01-24 Thread Erik Paulson
Change by Erik Paulson <epaul...@unit1127.com>: -- keywords: +patch pull_requests: +5155 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue32628] Add configurable DirectoryIndex to http.server

2018-01-22 Thread Erik Paulson
New submission from Erik Paulson <epaul...@unit1127.com>: In http.server and SimpleHTTPRequestHandler - the send_head function is hard-coded to treat index.html and index.htm as files to return in a directory - if neither of those files are present, it lists the directory. It would b