[New-bugs-announce] [issue47063] SimpleHTTPRequestHandler has hard coded index page list.

Myron Walker report at bugs.python.org
Sat Mar 19 00:25:14 EDT 2022


New submission from Myron Walker <myron.walker at gmail.com>:

SimpleHTTPRequestHandler has hard coded index page list in the send_head method.  The fixed hard-coded list means that if you want to have a custom index page that is not named "index.htm" or "index.html" then you have to override the send_head method.  There is alot of code in send_head so overriding it is not optimal just to have a custom indexer filename.

----------
components: Library (Lib)
messages: 415534
nosy: Myron Walker
priority: normal
severity: normal
status: open
title: SimpleHTTPRequestHandler has hard coded index page list.
type: enhancement
versions: Python 3.8

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


More information about the New-bugs-announce mailing list