Skip to content

bpo-32628: support DirectoryIndex for http server #5308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

epaulson
Copy link

@epaulson epaulson commented Jan 25, 2018

SimpleHTTPRequestHandler is hard-coded to only use index.html or index.htm
as files to serve for a request for a directory. With this change, this list
can be modified, ala the DirectoryIndex directive of an Apache web server.

https://bugs.python.org/issue32628

SimpleHTTPRequestHandler is hard-coded to only use index.html or index.htm
as files to serve for a request for a directory. With this change, this list
can be modified, ala the DirectoryIndex directive of an Apache web server.
@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

@epaulson
Copy link
Author

I signed my CLA a few days ago - bugs.python.org now shows it as processed. Could a dev update the label?

https://bugs.python.org/user27802

@MaxwellDupre
Copy link
Contributor

Could you amend versionadded, please? Lets try for 3.11.

@AlexWaygood
Copy link
Member

AlexWaygood commented May 8, 2022

Could you amend versionadded, please? Lets try for 3.11.

@MaxwellDupre, just so you know, the beta release for 3.11 was released today, meaning 3.11 is now in feature freeze. 3.11 is now only accepting bugfixes, meaning new features can now only be added to 3.12.

@epaulson
Copy link
Author

epaulson commented May 8, 2022

I got a somewhat skeptical review in #76809 so I'm not sure what the path forward might be. Happy to update it to 3.12 but I don't know that it's ever going to make it in, even updated.

@AlexWaygood
Copy link
Member

AlexWaygood commented May 8, 2022

I got a somewhat skeptical review in #76809 so I'm not sure what the path forward might be. Happy to update it to 3.12 but I don't know that it's ever going to make it in, even updated.

I am neither a core developer (I'm a triager) nor a frequent user of the http module, so I can't really comment on that, I'm afraid :/

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Aug 14, 2022
@python-cla-bot
Copy link

python-cla-bot bot commented Apr 6, 2025

The following commit authors need to sign the Contributor License Agreement:

CLA signed

@github-actions github-actions bot removed the stale Stale PR or inactive for long period of time. label Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants