[issue45650] cgitb does not emit CGI headers when format='text'

2021-12-11 Thread Eric V. Smith
Eric V. Smith added the comment: Having not heard back about a use case for this, I'm going to close it. If you want to move this forward, I suggest proposing it on the python-ideas mailing list. -- resolution: -> rejected stage: -> resolved status: pending -> closed

[issue45650] cgitb does not emit CGI headers when format='text'

2021-11-14 Thread Eric V. Smith
Change by Eric V. Smith : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45650] cgitb does not emit CGI headers when format='text'

2021-11-14 Thread Eric V. Smith
Eric V. Smith added the comment: I would think the use case for 'text' is to not print the output to a web page, so you wouldn't want the headers. The documentation says that cgitb was generalized to not only produce output for web pages. The 'text' format provides this generalization.

[issue45650] cgitb does not emit CGI headers when format='text'

2021-10-28 Thread Kier Davis
New submission from Kier Davis : ## Context ## * Python is executing a script on behalf of a web server (e.g. Apache httpd) following the CGI protocol. * cgitb is enabled and configured to use the 'text' format. * An unhandled exception occurs before any CGI response headers have been