101 Commits (64c0b2ca3da8ffcaf8a8cf150a59eeb300326529)

Author SHA1 Message Date
Skip Montanaro 97b2fa229c Bring cgi.escape docstring slightly more in line with the library ref 21 years ago
Johannes Gijsbers c7fc10a418 Patch #1079734: remove dependencies on (deprecated) rfc822 and mimetools 22 years ago
Raymond Hettinger f871d833dd Remove some lambdas. 22 years ago
Raymond Hettinger a617271dbd Use cStringIO where available. 22 years ago
Johannes Gijsbers 9e15dd6861 Let cgi.parse_header() properly unquote headers (patch #1008597). 22 years ago
Neil Schemenauer 66edb6295f Don't return spurious empty fields if 'keep_empty_values' is True. 22 years ago
Brett Cannon 8d9b60f102 Change parse_qsl() to accept control-name's with no equal sign (e.g., "name") 23 years ago
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r" 23 years ago
Guido van Rossum 68468eba63 Get rid of many apply() calls. 24 years ago
Guido van Rossum 4061cbee9c Patch suggested by Hamish Lawson: add an __iter__() that returns 24 years ago
Raymond Hettinger 46ac8eb3c8 Code modernization. Replace v=s[i]; del s[i] with single lookup v=s.pop(i) 24 years ago
Raymond Hettinger 54f0222547 SF 563203. Replaced 'has_key()' with 'in'. 24 years ago
Raymond Hettinger a144900b86 Use is None rather than general boolean 24 years ago
Tim Peters bc0e910826 Convert a pile of obvious "yes/no" functions to return bool. 25 years ago
Skip Montanaro db5d1444a1 tighten up except - only ValueError can be raised in this situation 25 years ago
Neal Norwitz 7fd41ccdb1 SF #515006, remove unnecessary import 25 years ago
Fred Drake 4c85da4d16 "ib" should be "boundary"; reported by Neal Norwitz. 25 years ago
Guido van Rossum 1bfb388d86 Class FieldStorage: add two new methods, getfirst() and getlist(), 25 years ago
Tim Peters ab9ba27dc0 Whitespace normalization. 25 years ago
Guido van Rossum 2e441f7836 Fix a denial-of-service attack, SF bug #443120. 25 years ago
Guido van Rossum 52b8c29ca7 Solve SF bug #231249: cgi.py opens too many (temporary) files. 25 years ago
Guido van Rossum a8423a95b8 Add a whole lot of stuff to __all__. 26 years ago
Skip Montanaro ff443a51eb added missing element to __all__ 26 years ago
Guido van Rossum 467d723bd7 Added a comment explaining why this file must really have #! 26 years ago
Eric S. Raymond 7e9b4f58b6 String method conversion. 26 years ago
Skip Montanaro e99d5ea25b added __all__ lists to a number of Python modules 26 years ago
Tim Peters 88869f9787 Whitespace normalization. 26 years ago
Guido van Rossum 7dd06966cb Make Traceback header conform to new traceback ("innermost last" -> 26 years ago
Barry Warsaw 7fed217515 This fixes several bug reports concering memory bloating during large 26 years ago
Guido van Rossum 5191463276 Undo Ping's change. 26 years ago
Ka-Ping Yee 099e534fa4 Change first line to #!/usr/bin/env python (really just to test check-in). 26 years ago
Guido van Rossum a3c6a8a30e Patch #101121, by Ka-Ping Yee: cosmetic cleanup of cgi.py, using my 26 years ago
Guido van Rossum 57d51f2f1d Improve the test output a bit. 26 years ago
Jeremy Hylton afde7e24b6 fix bug #110661 (PR#356) -- accept either & or ; as separator for CGI 26 years ago
Moshe Zadka a1a4b5916b Closing patch #101120 -- After everyone agreed. 26 years ago
Jeremy Hylton c253d9a623 Remove very long doc string (it's all in the docs) 26 years ago
Thomas Wouters 7e47402264 Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 26 years ago
Guido van Rossum 98d9fd3e68 Simple changes by Gerrit Holl - move author acknowledgements out of 27 years ago
Guido van Rossum 3af7b050a3 Fix a broken r.append(name, value) call, spotted by Tim. 27 years ago
Guido van Rossum 60a3bd8130 After more discussion with Jim, change the behavior so that only a 27 years ago
Guido van Rossum 1946f0d6f2 Patch by Jim Fulton: new function parse_qsl(), which is like 27 years ago
Guido van Rossum ce900defc5 At Jim Fulton's request (actually, as a compromise :-), default the 27 years ago
Barry Warsaw 302331a3b6 FieldStorage.__init__(): if there is no content-type header, use 28 years ago
Guido van Rossum 030d2ec16c In read_multi, allow a subclass to override the class we instantiate 28 years ago
Guido van Rossum f5745008d2 Patch by Jim Fulton, who writes: 28 years ago
Guido van Rossum 01852838f3 Treat "HEAD" same as "GET", so that CGI scripts won't fail. 28 years ago
Guido van Rossum cff311aa37 Be more careful than the previous patch. The default content-type 28 years ago
Guido van Rossum dd47ec98e2 Default content-type to application/x-www-form-urlencoded at the top 28 years ago
Guido van Rossum b1b4f94527 Make Tim O'Malley's requested change: in FieldStorage.__init__(), when 29 years ago
Guido van Rossum 45e2fbc2e7 Mass check-in after untabifying all files that need it. 29 years ago