[New-bugs-announce] [issue14989] http.server option to run CGIHTTPRequestHandler

Senthil Kumaran 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).

----------
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 <report at bugs.python.org>
<http://bugs.python.org/issue14989>
_______________________________________


More information about the New-bugs-announce mailing list