Library function to encode data to multipart/form-data format?

Grant Edwards invalid at invalid.invalid
Mon Dec 21 12:51:00 EST 2015


Is there a standard library function that can be used to encode data
into multipart/form-data format?  IIRC, I looked for this once before
and didn't find anything in the library. 

[I don't want to actually send an HTTP POST or an email message, I
just need to generate sets of data for test purposes.]

-- 
Grant Edwards               grant.b.edwards        Yow! -- I love KATRINKA
                                  at               because she drives a
                              gmail.com            PONTIAC.  We're going
                                                   away now.  I fed the cat.



More information about the Python-list mailing list