questions concerning cgi.FieldStorage(keep_blank_values=1)

Jonas Meurer jonas at freesources.org
Sun Feb 20 12:21:21 EST 2005


On 20/02/2005 Daniel Lichtenberger wrote:
> > any suggestions about how to make form.keys() contain the blank keys
> > as well?
> 
> "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?

bye
 jonas



More information about the Python-list mailing list