[Python-Dev] urllib, multipart/form-data encoding and file uploads

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jun 28 03:36:05 CEST 2008


Chris AtLee wrote:
> One thing I've always missed in urllib/urllib2 is the
> facility to encode POST data as multipart/form-data.

I second that, having had to reinvent it a couple of
times recently. It seems like an obvious thing to want
to do, and it's surprising to find it's not supported.

-- 
Greg


More information about the Python-Dev mailing list