[issue33181] SimpleHTTPRequestHandler shouldn't redirect to directories with code 301

Oliver Urs Lenz report at bugs.python.org
Fri Mar 30 13:48:35 EDT 2018


Oliver Urs Lenz <oliver.urs.lenz at gmail.com> added the comment:

Yes, but Apache's redirect can be turned off, whereas this can't, so it seems unnecessarily limiting to force this on users. Note that most of the motivation given by Apache doesn't apply here: with my proposed simplification, both types of indices would still be served whether the path contains a trailing slash or not.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33181>
_______________________________________


More information about the Python-bugs-list mailing list