summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/cgi.py
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate the Mailman/pythonlib directory. First, most if not all ofbwarsaw2002-02-231-1040/+0
| | | | | | | | the modules are now unnecessary because we're going to require at least Python 2.1.x and it should have relatively bug-free versions of these modules. Second, if we find we need to override standard modules, we have a different way of doing it now (by path-hacking in a pythonlib directory one level up into the front of sys.path).
* cgi.py from Python 2.2bwarsaw2001-10-011-117/+168
|
* Upgrade to Python 2.0b1's cgi.py. We'll have to track changes to thisbwarsaw2000-09-151-447/+73
| | | | | module manually now, since it's subsequently been changed to use Python 1.6 features (string methods). :/
* Use convenience StringIO modulebwarsaw1999-11-101-1/+1
|
* Changes to workaround some bogus clients which either don't include abwarsaw1999-01-081-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | content-type header, or include a bogus one. cgi.py FieldStorage.__init__(): if there is no content-type header, use text/plain for inner parts, but application/x-www-form-urlencoded for outer parts. Honor any existing content-type header. Lower down, if the content-type header is something we don't understand, default to text/plain for inner parts, but application/x-www-form-urlencoded for outer parts. This patch will be proposed for Python 1.5.2 driver run_main(): Play some games to get Mailman's special cgi.py module. We import it from Mailman.pythonlib.cgi, but then we jam this module into sys.modules['cgi'] so all those imports in all those Mailman.Cgi scripts get our special one (without having to hack all those scripts!)
* Added cgi.py from Python 1.5.2 distribution.bwarsaw1999-01-081-0/+1341