[issue42063] More options to http.server & SimpleHTTPRequestHandler

2020-11-19 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +22307 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23414 ___ Python tracker _

[issue42063] More options to http.server & SimpleHTTPRequestHandler

2020-10-17 Thread Jake
New submission from Jake : I would find it useful to have more options to http.server SimpleHTTPRequestHandler: 1) The option to get the current directory in not only HTML, but represented in JSON for example. This could be an added --json flag in the main method of http.server, and an added