[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 at

[issue32628] Add configurable DirectoryIndex to http.server

2018-01-24 Thread Erik Paulson
Change by Erik Paulson : -- keywords: +patch pull_requests: +5155 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32628> ___ ___ Py

[issue32628] Add configurable DirectoryIndex to http.server

2018-01-22 Thread Erik Paulson
New submission from Erik Paulson : 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 be very nice to be able to