[issue42004] Allow uploading files with SimpleHTTPRequestHandler

Jürgen Gmach report at bugs.python.org
Sun Oct 11 03:51:00 EDT 2020


Jürgen Gmach <juergen.gmach at googlemail.com> added the comment:

There is PEP 594 (draft), which - when accepted - will remove cgi.FieldStorage

https://www.python.org/dev/peps/pep-0594/

https://discuss.python.org/t/pep-594-removing-dead-batteries-from-the-standard-library/1704

This comes from an idea to relief the burden of maintenance for the maintainers.



Some off-topic comments...

cgi.FieldStorage has quite some unresolved issues, partially open for many years, although there are also some pull requests, waiting for review.

While cgi.FieldStorage is certainly a niche thing, it is used by Zope, by Plone, by webob... 

The latter even has a 250 line compat module to accomodate for current bugs ( https://github.com/Pylons/webob/blob/5c062aef9397b27915c5cc2ed2f202bff7494eca/src/webob/compat.py ).

If you, Javier, are also a fan of cgi.FieldStorage want to improve the situation with cgi.FieldStorage, maybe you could help reviewing the open issues and the open pull requests for cpython?

----------
nosy: +jugmac00

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42004>
_______________________________________


More information about the Python-bugs-list mailing list