[Web-SIG] Form field dictionaries

Gregory (Grisha) Trubetskoy grisha at modpython.org
Fri Oct 24 11:56:40 EDT 2003



On Fri, 24 Oct 2003, Simon Willison wrote:

> script.py?a=1&a=2
>
> What should GET['a'] return?

I think this is adequately addressed in the FieldStorage starting with
Python 2.2 with getfirst() and getlist():

http://www.python.org/doc/current/lib/node404.html

Grisha



More information about the Web-SIG mailing list