CGI question

Ian Bicking ianb at
Tue Sep 17 15:18:34 EDT 2002

On Tue, 2002-09-17 at 13:04, John D. Boy wrote:
> Now, my problem is to find out what follows behind the question mark in
> my CGI script. Unless the key has a value
> (, it is not in the cgi.FieldStorage
> dictionary. Is it simply impossible, or am I not using the right
> function calls? 

Look at cgi.FieldStorage.  Something like:

f = cgi.FieldStorage(keep_blank_values=1)

Will save these values.  (I don't know why it isn't set by default... by
default you shouldn't throw information away, but FieldStorage does in
this case)


More information about the Python-list mailing list