[cse491] Reading form values in WSGI

C. Titus Brown ctb at msu.edu
Mon Nov 23 10:43:55 PST 2009


Hi folks, if you need to know how to read form data from POSTs or GETs
in a WSGI function, see 

       http://class.ged.idyll.org/svn/files/hw7/apps.py

function 'form_app', right after "if url == '/process_form'":

       form = FieldStorage(fp=environ['wsgi.input'], environ=environ)

--titus
-- 
C. Titus Brown, ctb at msu.edu



More information about the cse491-fall-2009 mailing list