cgi : limiting size of POST?
kevin at cazabon.com
Sun Dec 16 16:33:45 EST 2001
Is there a way to automatically limit the size of a user POST through
CGI, or is this the responsibility of the webserver itself? From the
description of the cgi module, it looks like the POST info (including
attached files) is stored in memory as a string... sounds dangerous if
someone decides to upload 1GB of data...?
Through Perl CGI, I can set CGI::POST_MAX... and uploaded files are
stored on disk, not in memory.
Any thoughts of how to control this with Python cgi and Apache on
More information about the Python-list