Bug report: ClientForm

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sat Feb 28 18:53:21 EST 2009


En Sat, 28 Feb 2009 21:01:56 -0200, Muddy Coder <cosmo_general at yahoo.com>  
escribió:

> By the way, can somebody helps me on setting parameter of uploading a
> file. In ClientForm, if I need to upload a text file, I can do it by:
>
> form.add_file(..., "text/plain")
>
> What about a picture file? What is the counterpart of 'text/plain"?

See http://www.iana.org/assignments/media-types/image/

-- 
Gabriel Genellina




More information about the Python-list mailing list