multipart/form-data in an HTTP client

Ames Andreas (MPA/DF) Andreas.Ames at tenovis.com
Thu Sep 2 05:07:43 EDT 2004


Hello,

Jeff Shannon wrote:

> I, too, was surprised that the existing Python libraries don't
> directly support multipart/form-data already, and I hope that this
> gets added in soon.

I'm not sure what you'd call 'support' and I'm certainly no http guru,
so my hint my be far away from what you want (sorry if so), but the
function 'parse_multipart' and the class 'FieldStorage' in cgi.py
(v2.3) both handle multipart/formdata typed requests.


cheers,

andreas




More information about the Python-list mailing list