[issue10484] http.server.is_cgi fails to handle CGI URLs containing PATH_INFO

2012-03-01 Thread Giovanni Funchal
Giovanni Funchal gafunc...@gmail.com added the comment: This is still an issue as of python 3.2.2 and is affecting me. -- nosy: +Giovanni.Funchal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10484

[issue10805] traceback.print_exception throws AttributeError when exception is None

2012-02-23 Thread Giovanni Funchal
Giovanni Funchal gafunc...@gmail.com added the comment: This bug affects me, found it when migrating from 2.7 to 3.2, in a function calling traceback.print_exc() called while there were no active exception being handled. Previous behavior was to print None. -- nosy: +Giovanni.Funchal

[issue13893] Make CGIHTTPServer capable of redirects (and status other than 200)

2012-02-04 Thread Giovanni Funchal
Giovanni Funchal gafunc...@gmail.com added the comment: @Glenn Linderman, can you please share your changes? You can upload a patch. -- versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue13893] Make CGIHTTPServer capable of redirects (and status other than 200)

2012-02-04 Thread Giovanni Funchal
Giovanni Funchal gafunc...@gmail.com added the comment: @Éric Araujo, yes this is a duplicate of #10487. I now think this should be marked as bug instead of enhancement. The documentation warns about this behavior but it is documenting a bug. -- resolution: - duplicate

Re: Patching CGIHTTPServer.py

2012-02-01 Thread Giovanni Funchal
Wow, that's very flattering :-) I've opened an item in the python bug tracker for this enhancement and attached my patch, let's see how it goes. Thanks, -- Giovanni On Sat, Jan 28, 2012 at 4:04 PM, Miki Tebeka miki.teb...@gmail.com wrote: IMO the code is good enough to submit a patch. --

Patching CGIHTTPServer.py

2012-01-27 Thread Giovanni Funchal
Hi everyone, I was fiddling around with CGIHTTPServer.py --- a very handy module for quickly setting up a full HTTP server with CGI support --- when I noticed that it doesn't support responses other than 200 OK. So, for instance if your page wants to do a redirect (response 303), it just isn't

[issue13893] Make CGIHTTPServer capable of redirects (and status other than 200)

2012-01-27 Thread Giovanni Funchal
New submission from Giovanni Funchal gafunc...@gmail.com: GIHTTPServer.py is a very handy module for quickly setting up a full HTTP server with CGI support. However, I noticed that it doesn't support responses other than 200 OK. So, for instance if the page wants to do a redirect (response