[Python-talk] Generating form data multipart MIME for httplib,
Christopher Schmidt
crschmidt at crschmidt.net
Thu Apr 27 15:09:29 EDT 2006
On Thu, Apr 27, 2006 at 03:00:50PM -0400, Bill Freeman wrote:
>
> And all of this is easy enough to implement poorly, but then I have to maintain
> it. Even if I implement it well I have to maintain it. So I was hoping for
> a standard python library that would produce the desired request.
You aren't the first one to want such a thing and find Python lacking --
I ran into the same problem, and looking at code from someone else
(specifically for posting to flickr), he ended up with the same solution
I did: do it yourself.
The code in question is flickrUp.py -- don't know if it's available
anymore, but I found it in http://crschmidt.net/tmp/flickrUp.py ,
encode_multipart_formdata.
G'luck.
--
Christopher Schmidt
Web Developer
More information about the Python-talk
mailing list