[mod_python] Re: Quickie question for you

Stephane Bortzmeyer bortzmeyer at nic.fr
Thu Mar 17 09:46:51 EST 2005

On Wed, Mar 16, 2005 at 06:52:37PM -0500,
 Jorey Bump <list at joreybump.com> wrote 
 a message of 45 lines which said:

> As Graham mentions, the Publisher handler returns this info in the 
> req.form dictionary, so you would look at:

I thought that it was a util.FieldStorage
(http://www.modpython.org/live/current/doc-html/node92.html) which is
not a dictionary?  Although is has __getattr__ so, in practice, your
example works:
>  req.form['handle']
>  req.form['password']
>  req.form['login']

More information about the Mod_python mailing list