New submission from Senthil Kumaran <sent...@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).

----------
assignee: orsenthil
messages: 162199
nosy: orsenthil
priority: normal
severity: normal
stage: needs patch
status: open
title: http.server option to run CGIHTTPRequestHandler
type: behavior
versions: Python 3.2, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14989>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to