cgi behaviouring with key=& url
Thomas Mangin
thomasm at legend.co.uk
Wed Jun 14 05:46:00 EDT 2000
Hi,
Using the module cgi, I send this url of this form :
http://host/cgi-bin/mycgi.cgi?status=enable&pattern=&folder=.
When I do a cgi.FieldStorage()["pattern"].value this raise an exception as
= is not followed by
anything (I will probably have to add a "" after "pattern=" ).
Can so give me a good raison why the cgi module didn't define any pattern
Minifield with a None value ?
Thomas
More information about the Python-list
mailing list