brain cramp: emulating cgi.FieldStorage
Chris Curvey
ccurvey at gmail.com
Thu Sep 15 11:04:15 EDT 2005
figured it out...
os.environ["QUERY_STRING"] = "foo=bar"
fs = cgi.FieldStorage()
functionToBeTested(fs)
More information about the Python-list
mailing list