4 ms·
I thought Python didn’t support cgi scripts any longer.
by cushychicken 2y ago
I thought Python didn’t support cgi scripts any longer.
- notpushkin 2y agoWhy wouldn’t it? CGI is just an interface over stdio, and even though dropping `cgi` module from stdlib should be possible, I imagine it isn’t too hard to just continue supporting.
- cushychicken 2y agoAh, ok, I confused dropping the cgi module with dropping support altogether. My mistake.
- dmd 2y agoHuh? I don't even know what "didn't support" would even mean. A CGI script isn't anything special. It's just "a thing that gets called with some environment variables, and prints out some text (on stdout) for the web server to send to the client".