[issue47063] SimpleHTTPRequestHandler has hard coded index page list.

2022-03-21 Thread Ethan Furman


Ethan Furman  added the comment:

`index.htm[l]` is pretty standard for the name of the index page.  What's your 
use-case for wanting different names?  Keep in mind that the word `Simple` is 
in the name for a reason.

--
nosy: +ethan.furman
versions: +Python 3.11 -Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47063] SimpleHTTPRequestHandler has hard coded index page list.

2022-03-18 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
nosy: +python-dev
nosy_count: 1.0 -> 2.0
pull_requests: +30076
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/31985

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47063] SimpleHTTPRequestHandler has hard coded index page list.

2022-03-18 Thread Myron Walker


Myron Walker  added the comment:

I am adding a Github PR for this issue.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47063] SimpleHTTPRequestHandler has hard coded index page list.

2022-03-18 Thread Myron Walker


New submission from Myron Walker :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com