On Thu, Jan 22, 2009 at 4:26 PM, mdipierro <[email protected]> wrote:
>
> python cgi module always returns a FieldStorage for all submitted
> vars. web2py tries to parse them into strings. This fails when there
> is a file and (by convention) web2py leaves it as FieldStorage. This
> is convenient because it lets you check "if.request.vars.field" before
> taking any action.

I see.  Thanks again.  Maybe this paragraph should be added to the
next edition of the web2py book.

Markus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to