[mod_python] upload file?

Daniel J. Popowich dpopowich at mtrsd.k12.ma.us
Thu May 6 15:37:45 EST 2004

The default value for the enctype attribute of the FORM element is 
application/x-www-form-urlencoded, as in:

  <FORM method="POST" enctype="application/x-www-form-urlencoded">

when doing file uploads you need to specify: multipart/form-data, as

  <FORM method="POST" enctype="multipart/form-data">


More information about the Mod_python mailing list