[New-bugs-announce] [issue14989] http.server option to run CGIHTTPRequestHandler
report at bugs.python.org
Sun Jun 3 10:03:04 CEST 2012
New submission from Senthil Kumaran <senthil at uthcode.com>:
python3 -m http.server enables you to serve with SimpleHTTPRequestHandler serving as http server. If the cgi-bin paths are present those are *not treated as cgi paths*. Previously in Python2, python -m CGIHTTPServer enabled the sever to run it as CGI enabled HTTP Server.
Since in Python3, both SimpleHTTPServer and CGIHTTPServer are combined into http/server.py, I think having a option to serve cgi server from command like invocation is a good idea.
This is not a new feature, just an enabler in command line execution of http.server module and I think, it should be made available in 3.2 as well as it already available in 2.7 ( via CGIHTTPServer).
stage: needs patch
title: http.server option to run CGIHTTPRequestHandler
versions: Python 3.2, Python 3.3
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce