Mod python with multipart
b.niemann at betternet.de
Thu Aug 12 13:17:39 CEST 2004
> Does anyone know how to read the "multipart/form-data" posted by a form?
> I'm using mod_python 3.1 and Apache 2.
> I looked at the docs of the request object but there is no description
> on how to read multipart data.
> I also tried google with "modpython multipart" but there are only a few
> hits - I could not use them.
this is a question for the mod_python ML, but anyway ;)
data = cgi.FieldStorage(fp=req,
which works fine for me. Later I've seen that mod_python has it's own
implementation of FieldStorage, but I have not tried it yet.
More information about the Python-list