Berker Peksag <berker.pek...@gmail.com> added the comment:
Thank you for the report and for the patch! What's your use case? I understand the need for it for httpd, but as someone who uses http.server daily, I can't think of a use case that I'd find this feature useful. Note that even the example in your message and the test in the patch use artificial file names :) Handler.directory_index.append("index.htmlx") API doesn't look good to me. It would be nice to subclass it, but that would make http.server less usable (especially if you run it via "python -m http.server") I suggest closing this as 'rejected' (sorry!) ---------- nosy: +berker.peksag _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32628> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com