2009/2/13 malte <[email protected]>:
>
> I have a form that POSTs a few images.
>
> In the POST method, I rebuild the form, and call validates() on it.
>
> This breaks web.py, because it tries to unicodify() the image data,
> which makes python throw an exception.

Are you using web.input like this?

i = web.input(file={})
data = i.file.value

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to