python cgi problem with method = post
interstar at postmaster.co.uk
Sun Oct 5 07:36:39 CEST 2003
I'm still struggling with the mysterious problem of FieldStorage and
method = Post.
However, I've noticed something which might solve my problem but is
very strange. My CGI script :
print """Content-type: %s
""" % 'text/html'
print "<html><body>Hello World<p>\n"
b = cgi.FieldStorage()
And the result :
FieldStorage(None, None, [MiniFieldStorage('title', 'hello world'),
FieldStorage(None, None, )
So I take it that the first call to FieldStorage wipes out the data
for any subsequent calls? Is this right? Don't see it documented
If I have worked out the puzzle, do I now win my secret Python Decoder
More information about the Python-list