4 ms·
The cgi module didn't actually contain the Python standard library's CGI support. That's in wsgiref.handlers.CGIHandler, and isn't going away. What the cgi mod
by mjw1007 5y ago
The cgi module didn't actually contain the Python standard library's CGI support. That's in wsgiref.handlers.CGIHandler, and isn't going away.
What the cgi module did contain was some occasionally-useful support for working with HTML forms. As far as I can tell they're throwing that away for no good reason.
- a-dub 5y agoisn't that basically the bulk of the CGI standard? parsing environment variables and stdin for http get/post data? what else is left? emitting mime type headers and such and two newlines?