This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients orsenthil
Date 2012-06-03.08:03:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338710584.57.0.336351054508.issue14989@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2012-06-03 08:03:04orsenthilsetrecipients: + orsenthil
2012-06-03 08:03:04orsenthilsetmessageid: <1338710584.57.0.336351054508.issue14989@psf.upfronthosting.co.za>
2012-06-03 08:03:03orsenthillinkissue14989 messages
2012-06-03 08:03:03orsenthilcreate