Jonas Meurer wrote:
"key1" isn't a valid parameter, to supply an empty key you would write
script.py?key1=&key2=foo

Then cgi.FieldStorage also includes key1.

great, it works. but is there no way to use single keywords as GET argument?

You could manually parse the request string (CGI stores the request string as an environment variable, you can retrieve it via os.environ["REQUEST_STRING"]), but why not add "=1" (or "=") to your keywords?


bye,
Daniel

--
http://perplex.schmumpf.de/
[visit for regular email address]
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to